Open CASCADE Technology
7.1.0.beta
|
This abstract class describes the virtual functions associated to a set on N Functions of M independant 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 independant 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_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, Extrema_FuncExtCS, and Extrema_FuncExtSS.
|
pure virtual |
Returns the number of equations of the function.
Implemented in Geom2dGcc_FunctionTanCuCuOnCu, Extrema_FuncPSNorm, BlendFunc_CSCircular, Geom2dGcc_FunctionTanCuCuCu, Contap_SurfFunction, BRepBlend_RstRstEvolRad, BRepBlend_RstRstConstRad, BRepBlend_SurfRstEvolRad, BRepBlend_SurfRstConstRad, GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox, IntPatch_TheSurfFunction, BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox, BlendFunc_ConstRad, BlendFunc_EvolRad, BlendFunc_CSConstRad, Blend_RstRstFunction, Blend_SurfRstFunction, Extrema_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, Extrema_FuncExtCS, Blend_CSFunction, BlendFunc_ChAsym, Blend_Function, BlendFunc_Ruled, Blend_AppFunction, BRepBlend_SurfCurvEvolRadInv, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, IntWalk_TheFunctionOfTheInt2S, Geom2dGcc_FunctionTanCuCu, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, BRepBlend_SurfCurvConstRadInv, BRepBlend_SurfPointEvolRadInv, BlendFunc_Chamfer, Extrema_FuncExtSS, BRepBlend_CurvPointRadInv, BRepBlend_SurfPointConstRadInv, GeomFill_FunctionGuide, Blend_SurfCurvFuncInv, BlendFunc_ChamfInv, BlendFunc_ChAsymInv, BlendFunc_EvolRadInv, Blend_FuncInv, Blend_SurfPointFuncInv, BlendFunc_ConstRadInv, BlendFunc_RuledInv, FEmTool_ElementsOfRefMatrix, Blend_CurvPointFuncInv, IntPatch_CSFunction, HLRBRep_TheCSFunctionOfInterCSurf, ProjLib_PrjFunc, IntCurveSurface_TheCSFunctionOfHInter, GeomFill_FunctionDraft, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter, math_FunctionSetWithDerivatives, and FairCurve_DistributionOfEnergy.
|
pure virtual |
Returns the number of variables of the function.
Implemented in Geom2dGcc_FunctionTanCuCuOnCu, Extrema_FuncPSNorm, BlendFunc_CSCircular, Geom2dGcc_FunctionTanCuCuCu, Contap_SurfFunction, BRepBlend_RstRstEvolRad, BRepBlend_RstRstConstRad, BRepBlend_SurfRstEvolRad, BRepBlend_SurfRstConstRad, GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox, IntPatch_TheSurfFunction, BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox, Blend_RstRstFunction, Extrema_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, Extrema_FuncExtCS, Blend_SurfRstFunction, Blend_CSFunction, Blend_Function, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, IntWalk_TheFunctionOfTheInt2S, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, Blend_AppFunction, Extrema_FuncExtSS, Geom2dGcc_FunctionTanCuCu, GeomFill_FunctionGuide, Blend_SurfCurvFuncInv, Blend_FuncInv, Blend_SurfPointFuncInv, FEmTool_ElementsOfRefMatrix, IntPatch_CSFunction, Blend_CurvPointFuncInv, HLRBRep_TheCSFunctionOfInterCSurf, IntCurveSurface_TheCSFunctionOfHInter, ProjLib_PrjFunc, GeomFill_FunctionDraft, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter, math_FunctionSetWithDerivatives, and FairCurve_DistributionOfEnergy.
|
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 BlendFunc_ChAsym, Geom2dGcc_FunctionTanCuCuOnCu, Extrema_FuncPSNorm, BlendFunc_CSCircular, BRepBlend_RstRstEvolRad, Geom2dGcc_FunctionTanCuCuCu, BRepBlend_RstRstConstRad, BRepBlend_SurfRstEvolRad, BRepBlend_SurfRstConstRad, Contap_SurfFunction, BlendFunc_ConstRad, BlendFunc_EvolRad, BlendFunc_CSConstRad, Blend_RstRstFunction, GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox, IntPatch_TheSurfFunction, BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox, Blend_SurfRstFunction, Blend_CSFunction, BlendFunc_ChAsymInv, Blend_Function, BlendFunc_Ruled, Blend_AppFunction, BRepBlend_SurfCurvEvolRadInv, Extrema_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, Extrema_FuncExtCS, BRepBlend_SurfCurvConstRadInv, BRepBlend_SurfPointEvolRadInv, BlendFunc_Chamfer, Geom2dGcc_FunctionTanCuCu, BRepBlend_CurvPointRadInv, BRepBlend_SurfPointConstRadInv, FEmTool_ElementsOfRefMatrix, GeomFill_FunctionGuide, Blend_SurfCurvFuncInv, BlendFunc_ChamfInv, BlendFunc_EvolRadInv, Extrema_FuncExtSS, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, IntWalk_TheFunctionOfTheInt2S, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, Blend_FuncInv, Blend_SurfPointFuncInv, BlendFunc_ConstRadInv, BlendFunc_RuledInv, Blend_CurvPointFuncInv, ProjLib_PrjFunc, GeomFill_FunctionDraft, IntPatch_CSFunction, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, HLRBRep_TheCSFunctionOfInterCSurf, HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter, IntCurveSurface_TheCSFunctionOfHInter, FairCurve_DistributionOfTension, math_FunctionSetWithDerivatives, FairCurve_DistributionOfJerk, and FairCurve_DistributionOfSagging.