#include #include #include #include //define the structure type typedef struct {int n; float *fp;} Vector; // a structure 'Vector' to store a n by 1 vector // typedef struct {int n; int m; float *fp;} Matrix; // a structure 'Matrix' to store a n by m matrix // typedef struct {int f;int df;int ddf;} Int3; // a structure 'Int3' to store the values of f, df, and ddf // Defined in vector.c Vector CreateVector(int n); Vector ReadVector(); void PrintVector(Vector x); void DestroyVector(Vector x); // Defined in fA.c int fA(Vector x,float *fp,int spec);