Open CASCADE Technology 7.8.0
|
This abstract class describes the virtual functions associated to a set on N Functions of M independent variables. More...
#include <math_FunctionSet.hxx>
Public Member Functions | |
virtual Standard_Integer | NbVariables () const =0 |
Returns the number of variables of the function. | |
virtual Standard_Integer | NbEquations () const =0 |
Returns the number of equations of the function. | |
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. | |
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. | |
virtual | ~math_FunctionSet () |
This abstract class describes the virtual functions associated to a set on N Functions of M independent variables.
|
virtual |
|
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_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, Extrema_FuncExtCS, Extrema_FuncExtSS, and Extrema_FuncPSNorm.
|
pure virtual |
Returns the number of equations of the function.
Implemented in BlendFunc_EvolRadInv, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox, BRepBlend_CurvPointRadInv, BRepBlend_SurfCurvConstRadInv, BRepBlend_SurfCurvEvolRadInv, BRepBlend_SurfPointConstRadInv, BRepBlend_SurfPointEvolRadInv, Contap_SurfFunction, FEmTool_ElementsOfRefMatrix, Geom2dGcc_FunctionTanCuCu, Geom2dGcc_FunctionTanCuCuCu, Geom2dGcc_FunctionTanCuCuOnCu, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox, HLRBRep_TheCSFunctionOfInterCSurf, HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter, IntCurveSurface_TheCSFunctionOfHInter, IntPatch_CSFunction, IntPatch_TheSurfFunction, IntWalk_TheFunctionOfTheInt2S, ProjLib_PrjFunc, Blend_AppFunction, Blend_CurvPointFuncInv, Blend_FuncInv, Blend_RstRstFunction, Blend_SurfCurvFuncInv, Blend_SurfPointFuncInv, Blend_SurfRstFunction, math_FunctionSetWithDerivatives, BlendFunc_ChAsym, BlendFunc_ChAsymInv, BlendFunc_ConstRad, BlendFunc_ConstRadInv, BlendFunc_CSCircular, BlendFunc_CSConstRad, BlendFunc_EvolRad, BlendFunc_GenChamfer, BlendFunc_GenChamfInv, BlendFunc_Ruled, BlendFunc_RuledInv, BRepBlend_RstRstConstRad, BRepBlend_RstRstEvolRad, BRepBlend_SurfRstConstRad, BRepBlend_SurfRstEvolRad, Extrema_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, Extrema_FuncExtCS, Extrema_FuncExtSS, Extrema_FuncPSNorm, FairCurve_DistributionOfEnergy, GeomFill_FunctionDraft, GeomFill_FunctionGuide, and Blend_CSFunction.
|
pure virtual |
Returns the number of variables of the function.
Implemented in Blend_CurvPointFuncInv, Blend_FuncInv, Blend_SurfCurvFuncInv, Blend_SurfPointFuncInv, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox, Contap_SurfFunction, FEmTool_ElementsOfRefMatrix, Geom2dGcc_FunctionTanCuCu, Geom2dGcc_FunctionTanCuCuCu, Geom2dGcc_FunctionTanCuCuOnCu, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox, HLRBRep_TheCSFunctionOfInterCSurf, HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter, IntCurveSurface_TheCSFunctionOfHInter, IntPatch_CSFunction, IntPatch_TheSurfFunction, IntWalk_TheFunctionOfTheInt2S, ProjLib_PrjFunc, Blend_AppFunction, Blend_RstRstFunction, Blend_SurfRstFunction, math_FunctionSetWithDerivatives, Blend_CSFunction, Blend_Function, BlendFunc_CSCircular, BRepBlend_RstRstConstRad, BRepBlend_RstRstEvolRad, BRepBlend_SurfRstConstRad, BRepBlend_SurfRstEvolRad, Extrema_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, Extrema_FuncExtCS, Extrema_FuncExtSS, Extrema_FuncPSNorm, FairCurve_DistributionOfEnergy, GeomFill_FunctionDraft, and GeomFill_FunctionGuide.
|
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_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, Extrema_FuncExtCS, Extrema_FuncExtSS, Extrema_FuncPSNorm, BlendFunc_EvolRadInv, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox, BRepBlend_CurvPointRadInv, BRepBlend_SurfCurvConstRadInv, BRepBlend_SurfCurvEvolRadInv, BRepBlend_SurfPointConstRadInv, BRepBlend_SurfPointEvolRadInv, Contap_SurfFunction, FEmTool_ElementsOfRefMatrix, Geom2dGcc_FunctionTanCuCu, Geom2dGcc_FunctionTanCuCuCu, Geom2dGcc_FunctionTanCuCuOnCu, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox, HLRBRep_TheCSFunctionOfInterCSurf, HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter, IntCurveSurface_TheCSFunctionOfHInter, IntPatch_CSFunction, IntPatch_TheSurfFunction, IntWalk_TheFunctionOfTheInt2S, ProjLib_PrjFunc, BlendFunc_Chamfer, BlendFunc_ChamfInv, BlendFunc_ChAsym, BlendFunc_ChAsymInv, BlendFunc_ConstRad, BlendFunc_ConstRadInv, BlendFunc_ConstThroat, BlendFunc_ConstThroatInv, BlendFunc_ConstThroatWithPenetration, BlendFunc_ConstThroatWithPenetrationInv, BlendFunc_CSCircular, BlendFunc_CSConstRad, BlendFunc_EvolRad, BlendFunc_Ruled, BlendFunc_RuledInv, BRepBlend_RstRstConstRad, BRepBlend_RstRstEvolRad, BRepBlend_SurfRstConstRad, BRepBlend_SurfRstEvolRad, FairCurve_DistributionOfJerk, FairCurve_DistributionOfSagging, FairCurve_DistributionOfTension, GeomFill_FunctionDraft, GeomFill_FunctionGuide, Blend_CSFunction, Blend_AppFunction, Blend_CurvPointFuncInv, Blend_FuncInv, Blend_RstRstFunction, Blend_SurfCurvFuncInv, Blend_SurfPointFuncInv, Blend_SurfRstFunction, and math_FunctionSetWithDerivatives.