Open CASCADE Technology
7.5.0
|
This abstract class describes the virtual functions associated with a set of N Functions each of M independant variables. More...
#include <math_FunctionSetWithDerivatives.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_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 () |
This abstract class describes the virtual functions associated with a set of N Functions each of M independant variables.
|
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 BlendFunc_ChAsym, Geom2dGcc_FunctionTanCuCuOnCu, BlendFunc_CSCircular, Extrema_FuncPSNorm, BRepBlend_RstRstEvolRad, BRepBlend_RstRstConstRad, BRepBlend_SurfRstEvolRad, BRepBlend_SurfRstConstRad, Geom2dGcc_FunctionTanCuCuCu, Contap_SurfFunction, BlendFunc_ConstRad, BlendFunc_EvolRad, BlendFunc_CSConstRad, Blend_RstRstFunction, Blend_SurfRstFunction, Blend_CSFunction, BlendFunc_ChAsymInv, BlendFunc_ConstThroatWithPenetration, BlendFunc_Ruled, Blend_AppFunction, BRepBlend_SurfCurvEvolRadInv, GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox, IntPatch_TheSurfFunction, BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox, BRepBlend_SurfCurvConstRadInv, BRepBlend_SurfPointEvolRadInv, BRepBlend_CurvPointRadInv, BRepBlend_SurfPointConstRadInv, BlendFunc_Chamfer, GeomFill_FunctionGuide, Geom2dGcc_FunctionTanCuCu, BlendFunc_ConstThroat, Blend_SurfCurvFuncInv, BlendFunc_EvolRadInv, Extrema_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, Extrema_FuncExtCS, Blend_FuncInv, Blend_SurfPointFuncInv, BlendFunc_ConstRadInv, BlendFunc_RuledInv, Blend_CurvPointFuncInv, Extrema_FuncExtSS, GeomFill_FunctionDraft, ProjLib_PrjFunc, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, BlendFunc_ChamfInv, IntWalk_TheFunctionOfTheInt2S, HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter, BlendFunc_ConstThroatWithPenetrationInv, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, IntPatch_CSFunction, BlendFunc_ConstThroatInv, HLRBRep_TheCSFunctionOfInterCSurf, and IntCurveSurface_TheCSFunctionOfHInter.
|
pure virtual |
Returns the number of equations of the function.
Implements math_FunctionSet.
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, Blend_CSFunction, BlendFunc_ChAsym, Extrema_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, Extrema_FuncExtCS, BlendFunc_Ruled, Blend_AppFunction, BRepBlend_SurfCurvEvolRadInv, Geom2dGcc_FunctionTanCuCu, BRepBlend_SurfCurvConstRadInv, BRepBlend_SurfPointEvolRadInv, BlendFunc_GenChamfer, BRepBlend_CurvPointRadInv, BRepBlend_SurfPointConstRadInv, Extrema_FuncExtSS, GeomFill_FunctionGuide, BlendFunc_GenChamfInv, IntWalk_TheFunctionOfTheInt2S, Blend_SurfCurvFuncInv, BlendFunc_ChAsymInv, BlendFunc_EvolRadInv, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, Blend_FuncInv, Blend_SurfPointFuncInv, BlendFunc_ConstRadInv, BlendFunc_RuledInv, Blend_CurvPointFuncInv, IntPatch_CSFunction, HLRBRep_TheCSFunctionOfInterCSurf, IntCurveSurface_TheCSFunctionOfHInter, GeomFill_FunctionDraft, ProjLib_PrjFunc, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, and HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter.
|
pure virtual |
Returns the number of variables of the function.
Implements math_FunctionSet.
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, Blend_SurfRstFunction, Extrema_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, Extrema_FuncExtCS, Blend_CSFunction, Blend_Function, Blend_AppFunction, Geom2dGcc_FunctionTanCuCu, Extrema_FuncExtSS, IntWalk_TheFunctionOfTheInt2S, GeomFill_FunctionGuide, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, Blend_SurfCurvFuncInv, Blend_FuncInv, Blend_SurfPointFuncInv, IntPatch_CSFunction, Blend_CurvPointFuncInv, HLRBRep_TheCSFunctionOfInterCSurf, IntCurveSurface_TheCSFunctionOfHInter, GeomFill_FunctionDraft, ProjLib_PrjFunc, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, and HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter.
|
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 BlendFunc_ChAsym, Geom2dGcc_FunctionTanCuCuOnCu, BlendFunc_CSCircular, Extrema_FuncPSNorm, 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, BlendFunc_ConstThroatWithPenetration, BlendFunc_Ruled, Blend_AppFunction, BRepBlend_SurfCurvEvolRadInv, BRepBlend_SurfCurvConstRadInv, BRepBlend_SurfPointEvolRadInv, Extrema_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, Extrema_FuncExtCS, Geom2dGcc_FunctionTanCuCu, BRepBlend_CurvPointRadInv, BRepBlend_SurfPointConstRadInv, BlendFunc_Chamfer, GeomFill_FunctionGuide, BlendFunc_ConstThroat, Blend_SurfCurvFuncInv, BlendFunc_EvolRadInv, Blend_FuncInv, Blend_SurfPointFuncInv, BlendFunc_ConstRadInv, BlendFunc_RuledInv, Extrema_FuncExtSS, Blend_CurvPointFuncInv, IntWalk_TheFunctionOfTheInt2S, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, GeomFill_FunctionDraft, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, ProjLib_PrjFunc, IntPatch_CSFunction, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, BlendFunc_ChamfInv, HLRBRep_TheCSFunctionOfInterCSurf, HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter, BlendFunc_ConstThroatWithPenetrationInv, IntCurveSurface_TheCSFunctionOfHInter, and BlendFunc_ConstThroatInv.
|
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, BlendFunc_CSCircular, Geom2dGcc_FunctionTanCuCuOnCu, BRepBlend_RstRstEvolRad, BRepBlend_RstRstConstRad, BRepBlend_SurfRstEvolRad, BRepBlend_SurfRstConstRad, Extrema_FuncPSNorm, Geom2dGcc_FunctionTanCuCuCu, BlendFunc_ConstRad, BlendFunc_EvolRad, BlendFunc_CSConstRad, Blend_RstRstFunction, Contap_SurfFunction, Blend_SurfRstFunction, Blend_CSFunction, BlendFunc_ChAsymInv, BlendFunc_Ruled, Blend_AppFunction, BRepBlend_SurfCurvEvolRadInv, BRepBlend_SurfCurvConstRadInv, BRepBlend_SurfPointEvolRadInv, BRepBlend_CurvPointRadInv, BRepBlend_SurfPointConstRadInv, GeomFill_FunctionGuide, Geom2dGcc_FunctionTanCuCu, Blend_SurfCurvFuncInv, BlendFunc_EvolRadInv, GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox, IntPatch_TheSurfFunction, BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox, Blend_FuncInv, Blend_SurfPointFuncInv, BlendFunc_ConstRadInv, BlendFunc_RuledInv, Blend_CurvPointFuncInv, Extrema_CCLocFOfLocECC, Extrema_CCLocFOfLocECC2d, Extrema_FuncExtCS, GeomFill_FunctionDraft, ProjLib_PrjFunc, Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter, Extrema_FuncExtSS, HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter, BlendFunc_GenChamfer, BlendFunc_GenChamfInv, IntWalk_TheFunctionOfTheInt2S, GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox, BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox, IntPatch_CSFunction, HLRBRep_TheCSFunctionOfInterCSurf, and IntCurveSurface_TheCSFunctionOfHInter.