10 A.resize(4, std::vector<double>(4, 0));
64 return a*x*x*x+
b*x*x+
c*x+
d;
std::vector< double > x(ncmax, 0)
std::vector< std::vector< double > > linsolve(std::vector< std::vector< double > > const &A, std::vector< std::vector< double > > const &B)
double evaluate(double x)
bool add_value_constraint(double x, double y)
std::vector< std::vector< double > > A
void add_4value_constraints(double x1, double x2, double x3, double x4, double y1, double y2, double y3, double y4)
bool add_derivative_constraint(double x, double dydx)