Open CASCADE Technology
7.6.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. 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 () |
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_FuncPSNorm, Extrema_FuncExtSS, Extrema_FuncExtCS, Extrema_CCLocFOfLocECC2d, and Extrema_CCLocFOfLocECC.
|
pure virtual |
Returns the number of equations of the function.
Implemented in Blend_CSFunction, GeomFill_FunctionGuide, GeomFill_FunctionDraft, FairCurve_DistributionOfEnergy, Extrema_FuncPSNorm, Extrema_FuncExtSS, Extrema_FuncExtCS, Extrema_CCLocFOfLocECC2d, Extrema_CCLocFOfLocECC, BRepBlend_SurfRstEvolRad, BRepBlend_SurfRstConstRad, BRepBlend_RstRstEvolRad, BRepBlend_RstRstConstRad, BlendFunc_RuledInv, BlendFunc_Ruled, BlendFunc_GenChamfInv, BlendFunc_GenChamfer, BlendFunc_EvolRad, BlendFunc_CSConstRad, BlendFunc_CSCircular, BlendFunc_ConstRadInv, BlendFunc_ConstRad, BlendFunc_ChAsymInv, BlendFunc_ChAsym, math_FunctionSetWithDerivatives, Blend_SurfRstFunction, Blend_SurfPointFuncInv, Blend_SurfCurvFuncInv, Blend_RstRstFunction, Blend_FuncInv, Blend_CurvPointFuncInv, Blend_AppFunction, ProjLib_PrjFunc, IntWalk_TheFunctionOfTheInt2S, IntPatch_TheSurfFunction, IntPatch_CSFunction, IntCurveSurface_TheCSFunctionOfHInter, HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter, HLRBRep_TheCSFunctionOfInterCSurf, GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, Geom2dGcc_FunctionTanCuCuOnCu, Geom2dGcc_FunctionTanCuCuCu, Geom2dGcc_FunctionTanCuCu, FEmTool_ElementsOfRefMatrix, Contap_SurfFunction, BRepBlend_SurfPointEvolRadInv, BRepBlend_SurfPointConstRadInv, BRepBlend_SurfCurvEvolRadInv, BRepBlend_SurfCurvConstRadInv, BRepBlend_CurvPointRadInv, BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, and BlendFunc_EvolRadInv.
|
pure virtual |
Returns the number of variables of the function.
Implemented in GeomFill_FunctionGuide, GeomFill_FunctionDraft, FairCurve_DistributionOfEnergy, Extrema_FuncPSNorm, Extrema_FuncExtSS, Extrema_FuncExtCS, Extrema_CCLocFOfLocECC2d, Extrema_CCLocFOfLocECC, BRepBlend_SurfRstEvolRad, BRepBlend_SurfRstConstRad, BRepBlend_RstRstEvolRad, BRepBlend_RstRstConstRad, BlendFunc_CSCircular, Blend_Function, Blend_CSFunction, math_FunctionSetWithDerivatives, Blend_SurfRstFunction, Blend_RstRstFunction, Blend_AppFunction, ProjLib_PrjFunc, IntWalk_TheFunctionOfTheInt2S, IntPatch_TheSurfFunction, IntPatch_CSFunction, IntCurveSurface_TheCSFunctionOfHInter, HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter, HLRBRep_TheCSFunctionOfInterCSurf, GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, Geom2dGcc_FunctionTanCuCuOnCu, Geom2dGcc_FunctionTanCuCuCu, Geom2dGcc_FunctionTanCuCu, FEmTool_ElementsOfRefMatrix, Contap_SurfFunction, BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, Blend_SurfPointFuncInv, Blend_SurfCurvFuncInv, Blend_FuncInv, and Blend_CurvPointFuncInv.
|
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 math_FunctionSetWithDerivatives, Blend_SurfRstFunction, Blend_SurfPointFuncInv, Blend_SurfCurvFuncInv, Blend_RstRstFunction, Blend_FuncInv, Blend_CurvPointFuncInv, Blend_AppFunction, Blend_CSFunction, GeomFill_FunctionGuide, GeomFill_FunctionDraft, FairCurve_DistributionOfTension, FairCurve_DistributionOfSagging, FairCurve_DistributionOfJerk, BRepBlend_SurfRstEvolRad, BRepBlend_SurfRstConstRad, BRepBlend_RstRstEvolRad, BRepBlend_RstRstConstRad, BlendFunc_RuledInv, BlendFunc_Ruled, BlendFunc_EvolRad, BlendFunc_CSConstRad, BlendFunc_CSCircular, BlendFunc_ConstThroatWithPenetrationInv, BlendFunc_ConstThroatWithPenetration, BlendFunc_ConstThroatInv, BlendFunc_ConstThroat, BlendFunc_ConstRadInv, BlendFunc_ConstRad, BlendFunc_ChAsymInv, BlendFunc_ChAsym, BlendFunc_ChamfInv, BlendFunc_Chamfer, ProjLib_PrjFunc, IntWalk_TheFunctionOfTheInt2S, IntPatch_TheSurfFunction, IntPatch_CSFunction, IntCurveSurface_TheCSFunctionOfHInter, HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter, HLRBRep_TheCSFunctionOfInterCSurf, GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, Geom2dGcc_FunctionTanCuCuOnCu, Geom2dGcc_FunctionTanCuCuCu, Geom2dGcc_FunctionTanCuCu, FEmTool_ElementsOfRefMatrix, Contap_SurfFunction, BRepBlend_SurfPointEvolRadInv, BRepBlend_SurfPointConstRadInv, BRepBlend_SurfCurvEvolRadInv, BRepBlend_SurfCurvConstRadInv, BRepBlend_CurvPointRadInv, BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, BlendFunc_EvolRadInv, Extrema_FuncPSNorm, Extrema_FuncExtSS, Extrema_FuncExtCS, Extrema_CCLocFOfLocECC2d, and Extrema_CCLocFOfLocECC.