// 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_FunctionSetWithDerivatives_HeaderFile #define _math_FunctionSetWithDerivatives_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _math_FunctionSet_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif class math_Vector; class math_Matrix; //! This abstract class describes the virtual functions associated
//! with a set of N Functions each of M independant variables.
class math_FunctionSetWithDerivatives : public math_FunctionSet { 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; //! Returns the number of equations of the function.
Standard_EXPORT virtual Standard_Integer NbEquations() 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,math_Vector& F) = 0; //! Returns the values of the derivatives for the
//! variable .
//! Returns True if the computation was done successfully,
//! False otherwise.
Standard_EXPORT virtual Standard_Boolean Derivatives(const math_Vector& X,math_Matrix& D) = 0; //! returns the values of the functions and the derivatives
//! for the variable .
//! Returns True if the computation was done successfully,
//! False otherwise.
Standard_EXPORT virtual Standard_Boolean Values(const math_Vector& X,math_Vector& F,math_Matrix& D) = 0; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif