32 return ( (1./70.)*(21*x*x + 20*y*y + 19*z*z - 14*x*z - 20*y*z) + w*w );
35 double Up()
const {
return 1.;}
57 return ( (1./70.)*(21*x*x + 20*y*y + 19*z*z - 14*x*z - 20*y*z) + w*w );
60 std::vector<double>
Gradient(
const std::vector<double>&
par)
const {
68 std::vector<double>
g(4);
69 g[0] = (1./70.) * ( 42. * x - 14. * z );
70 g[1] = (1./70.) * ( 40. * y - 20. * z );
71 g[2] = (1./70.) * ( 38. * z - 14. * x - 20. *
y );
76 double Up()
const {
return 1.;}
std::vector< double > Gradient(const std::vector< double > &par) const
Namespace for new ROOT classes and functions.
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...
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 Up() const
Error definition of the function.
double Up() const
Error definition of the function.
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...