Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
math_MultipleVarFunctionWithGradient Class Reference

The abstract class MultipleVarFunctionWithGradient
describes the virtual functions associated with a multiple variable function.

#include <math_MultipleVarFunctionWithGradient.hxx>

Inheritance diagram for math_MultipleVarFunctionWithGradient:
Inheritance graph
[legend]

Public Member Functions

virtual DEFINE_STANDARD_ALLOC void Delete ()
virtual ~math_MultipleVarFunctionWithGradient ()
virtual 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.


Constructor & Destructor Documentation


Member Function Documentation


The documentation for this class was generated from the following file: