1 #ifndef FITNEWTON_CHISQUAREGRADHESSIAN_H
2 #define FITNEWTON_CHISQUAREGRADHESSIAN_H
13 namespace SeamStress {
template <
class TClass>
class Pincushion; }
25 void setPoints(
const std::vector<std::vector<double> >& POINTS){
points = &POINTS;}
33 bool calcValGradHessian(
const Eigen::VectorXd&
x,
double& val, Eigen::VectorXd& grad, Eigen::MatrixXd& hessian);
36 bool calcValGrad(
const Eigen::VectorXd&
x,
double& val, Eigen::VectorXd& grad);
51 const std::vector<std::vector<double> >*
points;
52 const std::vector<double>*
data;
66 std::vector<SeamStress::Seamstress*> *
vssp;
67 std::vector<SeamStress::Seamstress>
vss;