32 std::vector<double>
Gradient(
const std::vector<double>&
par)
const {
36 return ( std::vector<double>(1, 2.*x) );
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
double Up() const
Error definition of the function.
Extension of the FCNBase for providing the analytical Gradient of the function.
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...
double operator()(const std::vector< double > &par) const
The meaning of the vector of parameters is of course defined by the user, who uses the values of thos...
const FCNBase * Base() const
void SetErrorDef(double up)
add interface to set dynamically a new error definition Re-implement this function if needed...
std::vector< double > Gradient(const std::vector< double > &par) const