Open CASCADE Technology
6.5.4
|
#include <math_MultipleVarFunctionWithHessian.hxx>
Public Member Functions | |
virtual DEFINE_STANDARD_ALLOC Standard_Integer | NbVariables () const =0 |
returns the number of variables of the function. | |
virtual Standard_Boolean | Value (const math_Vector &X, Standard_Real &F)=0 |
computes the values of the Functions <F> for the variable <X>. Returns True if the computation was done successfully, False otherwise. | |
virtual Standard_Boolean | Gradient (const math_Vector &X, math_Vector &G)=0 |
computes the gradient <G> of the functions for the variable <X>. Returns True if the computation was done successfully, False otherwise. | |
virtual Standard_Boolean | Values (const math_Vector &X, Standard_Real &F, math_Vector &G)=0 |
computes the value <F> and the gradient <G> of the functions for the variable <X>. Returns True if the computation was done successfully, False otherwise. | |
virtual Standard_Boolean | Values (const math_Vector &X, Standard_Real &F, math_Vector &G, math_Matrix &H)=0 |
computes the value <F>, the gradient <G> and the hessian <H> of the functions for the variable <X>. Returns True if the computation was done successfully, False otherwise. |
virtual Standard_Boolean math_MultipleVarFunctionWithHessian::Gradient | ( | const math_Vector & | X, |
math_Vector & | G | ||
) | [pure virtual] |
Implements math_MultipleVarFunctionWithGradient.
Implemented in FairCurve_Energy.
virtual DEFINE_STANDARD_ALLOC Standard_Integer math_MultipleVarFunctionWithHessian::NbVariables | ( | ) | const [pure virtual] |
Implements math_MultipleVarFunctionWithGradient.
Implemented in FairCurve_Energy.
virtual Standard_Boolean math_MultipleVarFunctionWithHessian::Value | ( | const math_Vector & | X, |
Standard_Real & | F | ||
) | [pure virtual] |
Implements math_MultipleVarFunctionWithGradient.
Implemented in FairCurve_Energy.
virtual Standard_Boolean math_MultipleVarFunctionWithHessian::Values | ( | const math_Vector & | X, |
Standard_Real & | F, | ||
math_Vector & | G | ||
) | [pure virtual] |
Implements math_MultipleVarFunctionWithGradient.
Implemented in FairCurve_Energy.
virtual Standard_Boolean math_MultipleVarFunctionWithHessian::Values | ( | const math_Vector & | X, |
Standard_Real & | F, | ||
math_Vector & | G, | ||
math_Matrix & | H | ||
) | [pure virtual] |
Implemented in FairCurve_Energy.