// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _math_MultipleVarFunctionWithHessian_HeaderFile #define _math_MultipleVarFunctionWithHessian_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _math_MultipleVarFunctionWithGradient_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif class math_Vector; class math_Matrix; class math_MultipleVarFunctionWithHessian : public math_MultipleVarFunctionWithGradient { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! returns the number of variables of the function.
Standard_EXPORT virtual Standard_Integer NbVariables() const = 0; //! computes the values of the Functions for the
//! variable .
//! Returns True if the computation was done successfully,
//! False otherwise.
Standard_EXPORT virtual Standard_Boolean Value(const math_Vector& X,Standard_Real& F) = 0; //!computes the gradient of the functions for the
//! variable .
//! Returns True if the computation was done successfully,
//! False otherwise.
Standard_EXPORT virtual Standard_Boolean Gradient(const math_Vector& X,math_Vector& G) = 0; //! computes the value and the gradient of the
//! functions for the variable .
//! Returns True if the computation was done successfully,
//! False otherwise.
Standard_EXPORT virtual Standard_Boolean Values(const math_Vector& X,Standard_Real& F,math_Vector& G) = 0; //! computes the value , the gradient and the
//! hessian of the functions for the variable .
//! Returns True if the computation was done
//! successfully, False otherwise.
Standard_EXPORT virtual Standard_Boolean Values(const math_Vector& X,Standard_Real& F,math_Vector& G,math_Matrix& H) = 0; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif