Open CASCADE Technology  7.7.0
Public Member Functions
math_FunctionSet Class Referenceabstract

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

#include <math_FunctionSet.hxx>

Inheritance diagram for math_FunctionSet:
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_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 to a set on N Functions of M independent variables.

Constructor & Destructor Documentation

◆ ~math_FunctionSet()

virtual math_FunctionSet::~math_FunctionSet ( )
virtual

Member Function Documentation

◆ GetStateNumber()

virtual Standard_Integer math_FunctionSet::GetStateNumber ( )
virtual

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.

Reimplemented in Extrema_FuncPSNorm, Extrema_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, Extrema_FuncExtCS, and Extrema_FuncExtSS.

◆ NbEquations()

virtual Standard_Integer math_FunctionSet::NbEquations ( ) const
pure virtual

Returns the number of equations of the function.

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, FEmTool_ElementsOfRefMatrix, 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, math_FunctionSetWithDerivatives, IntPatch_CSFunction, FairCurve_DistributionOfEnergy, BlendFunc_ChAsymInv, ProjLib_PrjFunc, and IntCurveSurface_TheCSFunctionOfHInter.

◆ NbVariables()

virtual Standard_Integer math_FunctionSet::NbVariables ( ) const
pure virtual

◆ Value()

virtual Standard_Boolean math_FunctionSet::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.

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, FEmTool_ElementsOfRefMatrix, 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, FairCurve_DistributionOfTension, BlendFunc_ConstThroatWithPenetration, math_FunctionSetWithDerivatives, ProjLib_PrjFunc, IntWalk_TheFunctionOfTheInt2S, FairCurve_DistributionOfJerk, FairCurve_DistributionOfSagging, BlendFunc_Chamfer, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, BlendFunc_ConstThroat, IntPatch_CSFunction, BlendFunc_ChamfInv, IntCurveSurface_TheCSFunctionOfHInter, BlendFunc_ConstThroatWithPenetrationInv, and BlendFunc_ConstThroatInv.


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