Mantid
|
Non-templated wrapper for objective function object to allow it to be stored without templating the class. More...
Classes | |
class | BaseHolder |
class | TypeHolder |
Public Member Functions | |
double | eval (const std::vector< double > &x) const |
Calls user supplied function. More... | |
template<typename T > | |
FunctionWrapper (const T &func) | |
Construct. More... | |
Public Attributes | |
std::unique_ptr< BaseHolder > | m_funcHolder |
Templated holder. More... | |
Non-templated wrapper for objective function object to allow it to be stored without templating the class.
Definition at line 116 of file SLSQPMinimizer.h.
|
inline |
Construct.
Definition at line 133 of file SLSQPMinimizer.h.
|
inline |
Calls user supplied function.
x | - The current pt |
Definition at line 139 of file SLSQPMinimizer.h.
References Mantid::Geometry::x.
std::unique_ptr<BaseHolder> Mantid::Kernel::Math::SLSQPMinimizer::FunctionWrapper::m_funcHolder |
Templated holder.
Definition at line 141 of file SLSQPMinimizer.h.