Open CASCADE Technology  7.7.0
Public Member Functions
math_FunctionSetWithDerivatives Class Referenceabstract

This abstract class describes the virtual functions associated with a set of N Functions each of M independent variables. More...

#include <math_FunctionSetWithDerivatives.hxx>

Inheritance diagram for math_FunctionSetWithDerivatives:
Inheritance graph
[legend]

Public Member Functions

virtual Standard_Integer NbVariables () const =0
 Returns the number of variables of the function. More...
 
virtual Standard_Integer NbEquations () const =0
 Returns the number of equations of the function. More...
 
virtual Standard_Boolean Value (const math_Vector &X, math_Vector &F)=0
 Computes the values <F> of the Functions for the variable <X>. Returns True if the computation was done successfully, False otherwise. More...
 
virtual Standard_Boolean Derivatives (const math_Vector &X, math_Matrix &D)=0
 Returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise. More...
 
virtual Standard_Boolean Values (const math_Vector &X, math_Vector &F, math_Matrix &D)=0
 returns the values <F> of the functions and the derivatives <D> for the variable <X>. Returns True if the computation was done successfully, False otherwise. More...
 
- Public Member Functions inherited from math_FunctionSet
virtual Standard_Integer GetStateNumber ()
 Returns the state of the function corresponding to the latestcall of any methods associated with the function. This function is called by each of the algorithms described later which define the function Integer Algorithm::StateNumber(). The algorithm has the responsibility to call this function when it has found a solution (i.e. a root or a minimum) and has to maintain the association between the solution found and this StateNumber. Byu default, this method returns 0 (which means for the algorithm: no state has been saved). It is the responsibility of the programmer to decide if he needs to save the current state of the function and to return an Integer that allows retrieval of the state. More...
 
virtual ~math_FunctionSet ()
 

Detailed Description

This abstract class describes the virtual functions associated with a set of N Functions each of M independent variables.

Member Function Documentation

◆ Derivatives()

virtual Standard_Boolean math_FunctionSetWithDerivatives::Derivatives ( const math_Vector X,
math_Matrix D 
)
pure virtual

Returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise.

Implemented in Extrema_FuncPSNorm, Geom2dGcc_FunctionTanCuCuOnCu, BlendFunc_ChAsym, BlendFunc_CSCircular, Geom2dGcc_FunctionTanCuCuCu, BRepBlend_RstRstEvolRad, BRepBlend_RstRstConstRad, BRepBlend_SurfRstEvolRad, Blend_CSFunction, Blend_RstRstFunction, BRepBlend_SurfRstConstRad, Blend_SurfRstFunction, Blend_AppFunction, GeomFill_FunctionGuide, Contap_SurfFunction, BRepBlend_CurvPointRadInv, BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox, Blend_FuncInv, Blend_SurfPointFuncInv, Extrema_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, Blend_CurvPointFuncInv, Blend_SurfCurvFuncInv, BRepBlend_SurfCurvEvolRadInv, BlendFunc_ConstRad, BlendFunc_CSConstRad, BlendFunc_EvolRad, Geom2dGcc_FunctionTanCuCu, BRepBlend_SurfCurvConstRadInv, BRepBlend_SurfPointEvolRadInv, BRepBlend_SurfPointConstRadInv, BlendFunc_ChAsymInv, BlendFunc_Ruled, Extrema_FuncExtCS, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox, IntPatch_TheSurfFunction, HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter, BlendFunc_EvolRadInv, Extrema_FuncExtSS, BlendFunc_ConstRadInv, BlendFunc_RuledInv, GeomFill_FunctionDraft, BlendFunc_ConstThroatWithPenetration, ProjLib_PrjFunc, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, HLRBRep_TheCSFunctionOfInterCSurf, BlendFunc_Chamfer, BlendFunc_ConstThroat, BlendFunc_ChamfInv, BlendFunc_ConstThroatWithPenetrationInv, IntWalk_TheFunctionOfTheInt2S, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, IntPatch_CSFunction, BlendFunc_ConstThroatInv, and IntCurveSurface_TheCSFunctionOfHInter.

◆ NbEquations()

virtual Standard_Integer math_FunctionSetWithDerivatives::NbEquations ( ) const
pure virtual

Returns the number of equations of the function.

Implements math_FunctionSet.

Implemented in Extrema_FuncPSNorm, Geom2dGcc_FunctionTanCuCuOnCu, Geom2dGcc_FunctionTanCuCuCu, BlendFunc_CSCircular, BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox, Contap_SurfFunction, BRepBlend_RstRstEvolRad, BRepBlend_RstRstConstRad, BRepBlend_SurfRstEvolRad, Blend_CSFunction, Blend_RstRstFunction, BRepBlend_SurfRstConstRad, Extrema_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, Blend_SurfRstFunction, Blend_AppFunction, GeomFill_FunctionGuide, BRepBlend_CurvPointRadInv, Extrema_FuncExtCS, GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox, IntPatch_TheSurfFunction, Blend_FuncInv, Geom2dGcc_FunctionTanCuCu, Blend_SurfPointFuncInv, Blend_CurvPointFuncInv, Blend_SurfCurvFuncInv, BRepBlend_SurfCurvEvolRadInv, BlendFunc_ConstRad, BlendFunc_CSConstRad, BlendFunc_EvolRad, Extrema_FuncExtSS, BRepBlend_SurfCurvConstRadInv, BRepBlend_SurfPointEvolRadInv, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, HLRBRep_TheCSFunctionOfInterCSurf, BRepBlend_SurfPointConstRadInv, BlendFunc_Ruled, BlendFunc_ChAsym, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter, BlendFunc_EvolRadInv, BlendFunc_GenChamfer, BlendFunc_GenChamfInv, IntWalk_TheFunctionOfTheInt2S, BlendFunc_ConstRadInv, BlendFunc_RuledInv, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, GeomFill_FunctionDraft, IntPatch_CSFunction, BlendFunc_ChAsymInv, ProjLib_PrjFunc, and IntCurveSurface_TheCSFunctionOfHInter.

◆ NbVariables()

virtual Standard_Integer math_FunctionSetWithDerivatives::NbVariables ( ) const
pure virtual

◆ Value()

virtual Standard_Boolean math_FunctionSetWithDerivatives::Value ( const math_Vector X,
math_Vector F 
)
pure virtual

Computes the values <F> of the Functions for the variable <X>. Returns True if the computation was done successfully, False otherwise.

Implements math_FunctionSet.

Implemented in Extrema_FuncPSNorm, Geom2dGcc_FunctionTanCuCuOnCu, BlendFunc_ChAsym, Geom2dGcc_FunctionTanCuCuCu, BlendFunc_CSCircular, BRepBlend_RstRstEvolRad, BRepBlend_RstRstConstRad, BRepBlend_SurfRstEvolRad, Contap_SurfFunction, Blend_CSFunction, Blend_RstRstFunction, BRepBlend_SurfRstConstRad, BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox, Blend_SurfRstFunction, Blend_AppFunction, GeomFill_FunctionGuide, Extrema_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, BRepBlend_CurvPointRadInv, Blend_FuncInv, Blend_SurfPointFuncInv, Geom2dGcc_FunctionTanCuCu, Blend_CurvPointFuncInv, Blend_SurfCurvFuncInv, BRepBlend_SurfCurvEvolRadInv, BlendFunc_ConstRad, BlendFunc_CSConstRad, BlendFunc_EvolRad, Extrema_FuncExtCS, BRepBlend_SurfCurvConstRadInv, BRepBlend_SurfPointEvolRadInv, GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox, IntPatch_TheSurfFunction, BRepBlend_SurfPointConstRadInv, BlendFunc_ChAsymInv, BlendFunc_Ruled, Extrema_FuncExtSS, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter, BlendFunc_EvolRadInv, HLRBRep_TheCSFunctionOfInterCSurf, BlendFunc_ConstRadInv, BlendFunc_RuledInv, GeomFill_FunctionDraft, BlendFunc_ConstThroatWithPenetration, ProjLib_PrjFunc, IntWalk_TheFunctionOfTheInt2S, BlendFunc_Chamfer, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, BlendFunc_ConstThroat, IntPatch_CSFunction, BlendFunc_ChamfInv, IntCurveSurface_TheCSFunctionOfHInter, BlendFunc_ConstThroatWithPenetrationInv, and BlendFunc_ConstThroatInv.

◆ Values()

virtual Standard_Boolean math_FunctionSetWithDerivatives::Values ( const math_Vector X,
math_Vector F,
math_Matrix D 
)
pure virtual

returns the values <F> of the functions and the derivatives <D> for the variable <X>. Returns True if the computation was done successfully, False otherwise.

Implemented in BlendFunc_ChAsym, Extrema_FuncPSNorm, Geom2dGcc_FunctionTanCuCuOnCu, BlendFunc_CSCircular, BRepBlend_RstRstEvolRad, Geom2dGcc_FunctionTanCuCuCu, BRepBlend_RstRstConstRad, BRepBlend_SurfRstEvolRad, Blend_CSFunction, Blend_RstRstFunction, BRepBlend_SurfRstConstRad, Blend_SurfRstFunction, Blend_AppFunction, GeomFill_FunctionGuide, BRepBlend_CurvPointRadInv, Blend_FuncInv, Blend_SurfPointFuncInv, Contap_SurfFunction, Blend_CurvPointFuncInv, Blend_SurfCurvFuncInv, BRepBlend_SurfCurvEvolRadInv, BlendFunc_ConstRad, BlendFunc_CSConstRad, BlendFunc_EvolRad, Geom2dGcc_FunctionTanCuCu, BRepBlend_SurfCurvConstRadInv, BRepBlend_SurfPointEvolRadInv, BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox, Extrema_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, BRepBlend_SurfPointConstRadInv, BlendFunc_ChAsymInv, BlendFunc_Ruled, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter, BlendFunc_EvolRadInv, Extrema_FuncExtCS, BlendFunc_ConstRadInv, BlendFunc_RuledInv, GeomFill_FunctionDraft, ProjLib_PrjFunc, Extrema_FuncExtSS, GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox, IntPatch_TheSurfFunction, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, HLRBRep_TheCSFunctionOfInterCSurf, BlendFunc_GenChamfer, BlendFunc_GenChamfInv, IntWalk_TheFunctionOfTheInt2S, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, IntPatch_CSFunction, and IntCurveSurface_TheCSFunctionOfHInter.


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