#include #include #include #include #define A 1 #define B 1 #define C 1// these value could be chosen as either 0 or 1. typedef struct {int n; float *fp;} vec; typedef struct {int n; int m; float *fp;} mat; //"n" is # of rows, "m" # of columuns typedef struct {int f;int df;int ddf;} con; vec createv(int n); int readv(vec *x); void printv(vec x); void freev(vec *x);//subfuctions mat createm(int n,int m); void printm(mat x); void freem(mat *x);//subfunctions int objfun(vec x,float *fp,vec *df,mat *ddf,con spec); con conset(int a,int b,int c);