32 std::vector<double>
Gradient(
const std::vector<double>&
par)
const {
36 return ( std::vector<double>(1, 2.*x) );
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...
Namespace for new ROOT classes and functions.
const FCNBase * Base() const
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 ...
void SetErrorDef(double up)
add interface to set dynamically a new error definition Re-implement this function if needed...
double Up() const
Error definition of the function.
std::vector< double > Gradient(const std::vector< double > &par) const