30 #define _USE_MATH_DEFINES
46 FX(colvec(*f) (colvec &x, colvec &some_constants));
59 mat
JacobianAt(colvec &x, colvec &some_constants);
68 mat
HessianAt(colvec &x, colvec &some_constants,
int i);
76 colvec
SolveAt(colvec &x, colvec &some_constants);
85 colvec (*F_) (colvec &x, colvec &some_constants);
mat HessianAt(colvec &x, colvec &some_constants, int i)
Calculate the Hessian, at certain inputs.
Definition: fx.cpp:53
FX(colvec(*f)(colvec &x, colvec &some_constants))
Constructor, create a mathematical function.
Definition: fx.cpp:10
mat JacobianAt(colvec &x, colvec &some_constants)
Calculate the Jacobian at certain inputs.
Definition: fx.cpp:29
colvec SolveAt(colvec &x, colvec &some_constants)
Solve the function at certain inputs.
Definition: fx.cpp:23
~FX()
Destructor, nothing happens here.
Definition: fx.cpp:19
void SetEpsilon(double epsilon)
A very small number.
Definition: fx.cpp:77