Open CASCADE Technology  6.9.1
Public Member Functions
Extrema_CCLocFOfLocECC Class Reference

#include <Extrema_CCLocFOfLocECC.hxx>

Inheritance diagram for Extrema_CCLocFOfLocECC:
Inheritance graph
[legend]

Public Member Functions

 Extrema_CCLocFOfLocECC (const Standard_Real thetol=1.0e-10)
 
 Extrema_CCLocFOfLocECC (const Adaptor3d_Curve &C1, const Adaptor3d_Curve &C2, const Standard_Real thetol=1.0e-10)
 
void SetCurve (const Standard_Integer theRank, const Adaptor3d_Curve &C1)
 
void SetTolerance (const Standard_Real theTol)
 
virtual Standard_Integer NbVariables () const
 Returns the number of variables of the function. More...
 
virtual Standard_Integer NbEquations () const
 Returns the number of equations of the function. More...
 
virtual Standard_Boolean Value (const math_Vector &UV, math_Vector &F)
 Computes the values <F> of the Functions for the variable <X>. Returns True if the computation was done successfully, False otherwise. More...
 
Standard_Boolean Derivatives (const math_Vector &UV, math_Matrix &DF)
 Returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise. More...
 
Standard_Boolean Values (const math_Vector &UV, math_Vector &F, math_Matrix &DF)
 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...
 
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...
 
Standard_Integer NbExt () const
 
Standard_Real SquareDistance (const Standard_Integer N) const
 
void Points (const Standard_Integer N, Extrema_POnCurv &P1, Extrema_POnCurv &P2) const
 
Standard_Address CurvePtr (const Standard_Integer theRank) const
 
Standard_Real Tolerance () const
 
void SubIntervalInitialize (const math_Vector &theUfirst, const math_Vector &theUlast)
 
Standard_Real SearchOfTolerance (const Standard_Address C)
 
- Public Member Functions inherited from math_FunctionSet
virtual ~math_FunctionSet ()
 

Constructor & Destructor Documentation

Extrema_CCLocFOfLocECC::Extrema_CCLocFOfLocECC ( const Standard_Real  thetol = 1.0e-10)
Extrema_CCLocFOfLocECC::Extrema_CCLocFOfLocECC ( const Adaptor3d_Curve C1,
const Adaptor3d_Curve C2,
const Standard_Real  thetol = 1.0e-10 
)

Member Function Documentation

Standard_Address Extrema_CCLocFOfLocECC::CurvePtr ( const Standard_Integer  theRank) const
Standard_Boolean Extrema_CCLocFOfLocECC::Derivatives ( const math_Vector X,
math_Matrix D 
)
virtual

Returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise.

Implements math_FunctionSetWithDerivatives.

virtual Standard_Integer Extrema_CCLocFOfLocECC::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 from math_FunctionSet.

virtual Standard_Integer Extrema_CCLocFOfLocECC::NbEquations ( ) const
virtual

Returns the number of equations of the function.

Implements math_FunctionSetWithDerivatives.

Standard_Integer Extrema_CCLocFOfLocECC::NbExt ( ) const
virtual Standard_Integer Extrema_CCLocFOfLocECC::NbVariables ( ) const
virtual

Returns the number of variables of the function.

Implements math_FunctionSetWithDerivatives.

void Extrema_CCLocFOfLocECC::Points ( const Standard_Integer  N,
Extrema_POnCurv P1,
Extrema_POnCurv P2 
) const
Standard_Real Extrema_CCLocFOfLocECC::SearchOfTolerance ( const Standard_Address  C)
void Extrema_CCLocFOfLocECC::SetCurve ( const Standard_Integer  theRank,
const Adaptor3d_Curve C1 
)
void Extrema_CCLocFOfLocECC::SetTolerance ( const Standard_Real  theTol)
Standard_Real Extrema_CCLocFOfLocECC::SquareDistance ( const Standard_Integer  N) const
void Extrema_CCLocFOfLocECC::SubIntervalInitialize ( const math_Vector theUfirst,
const math_Vector theUlast 
)
Standard_Real Extrema_CCLocFOfLocECC::Tolerance ( ) const
virtual Standard_Boolean Extrema_CCLocFOfLocECC::Value ( const math_Vector X,
math_Vector F 
)
virtual

Computes the values <F> of the Functions for the variable <X>. Returns True if the computation was done successfully, False otherwise.

Implements math_FunctionSetWithDerivatives.

Standard_Boolean Extrema_CCLocFOfLocECC::Values ( const math_Vector X,
math_Vector F,
math_Matrix D 
)
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.

Implements math_FunctionSetWithDerivatives.


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