3 #ifndef __abstract_optim_hpp
4 #define __abstract_optim_hpp
7 #include <residual.hpp>
9 #include <mth/residual.hpp>
21 SpaceElem(
double ixmn,
double ixmx,
double idx) :
30 typedef std::vector<SpaceElem>
Space;
Definition: residual.hpp:9
double xmn
Definition: optim.hpp:22
std::vector< SpaceElem > Space
Definition: optim.hpp:30
double dx
Definition: optim.hpp:26
bool minimize(const AbstractResidual &res, std::vector< double > &x) const
virtual bool minimize(const AbstractResidual &res, std::vector< double > &x) const =0
void setSpace(const Space &space)
Definition: optim.hpp:40
double xmx
Definition: optim.hpp:25
Space & space()
Definition: optim.hpp:43