#include //Io #include //Pows and stuff. #include //Serves some purpose, I think it's atof(). #include //gives clock and timing controls. #include //For answering size questions. //Recall the -lm to link in the above math header file. //Recall the -pg to make data for the profiler afterwards int main(void); typedef struct vec {int size; double* elements;} vector; vector readvec(); //Pulls from standard in int printvec(vector * vecin); //Prints to standard out vector craftvec(int n, double *arrayin); int destroyvec(vector * vecin); //Free allocated array memory vector craftvecEZ(int n); //Initilize with 0's. typedef struct mat {int rows; int cols ; double **elements;} matrix; matrix readmat(); //Pulls from standard in int printmat(matrix * matin); //Prints to standard out matrix craftmat(int rows, int cols, double inarray[rows][cols]); int destroymat(matrix * matin); //Free allocated array memory. matrix craftmatEZ(int rows, int cols); //Initilize with 0's.