Open CASCADE Technology  6.9.1
Public Member Functions | Protected Member Functions
AppDef_TheLeastSquares Class Reference

#include <AppDef_TheLeastSquares.hxx>

Public Member Functions

 AppDef_TheLeastSquares (const AppDef_MultiLine &SSP, const Standard_Integer FirstPoint, const Standard_Integer LastPoint, const AppParCurves_Constraint FirstCons, const AppParCurves_Constraint LastCons, const math_Vector &Parameters, const Standard_Integer NbPol)
 
 AppDef_TheLeastSquares (const AppDef_MultiLine &SSP, const Standard_Integer FirstPoint, const Standard_Integer LastPoint, const AppParCurves_Constraint FirstCons, const AppParCurves_Constraint LastCons, const Standard_Integer NbPol)
 
 AppDef_TheLeastSquares (const AppDef_MultiLine &SSP, const TColStd_Array1OfReal &Knots, const TColStd_Array1OfInteger &Mults, const Standard_Integer FirstPoint, const Standard_Integer LastPoint, const AppParCurves_Constraint FirstCons, const AppParCurves_Constraint LastCons, const math_Vector &Parameters, const Standard_Integer NbPol)
 
 AppDef_TheLeastSquares (const AppDef_MultiLine &SSP, const TColStd_Array1OfReal &Knots, const TColStd_Array1OfInteger &Mults, const Standard_Integer FirstPoint, const Standard_Integer LastPoint, const AppParCurves_Constraint FirstCons, const AppParCurves_Constraint LastCons, const Standard_Integer NbPol)
 
void Perform (const math_Vector &Parameters)
 
void Perform (const math_Vector &Parameters, const Standard_Real l1, const Standard_Real l2)
 
void Perform (const math_Vector &Parameters, const math_Vector &V1t, const math_Vector &V2t, const Standard_Real l1, const Standard_Real l2)
 
void Perform (const math_Vector &Parameters, const math_Vector &V1t, const math_Vector &V2t, const math_Vector &V1c, const math_Vector &V2c, const Standard_Real l1, const Standard_Real l2)
 
Standard_Boolean IsDone () const
 
AppParCurves_MultiCurve BezierValue ()
 
const AppParCurves_MultiBSpCurveBSplineValue ()
 
const math_MatrixFunctionMatrix () const
 
const math_MatrixDerivativeFunctionMatrix () const
 
void ErrorGradient (math_Vector &Grad, Standard_Real &F, Standard_Real &MaxE3d, Standard_Real &MaxE2d)
 
const math_MatrixDistance ()
 
void Error (Standard_Real &F, Standard_Real &MaxE3d, Standard_Real &MaxE2d)
 
Standard_Real FirstLambda () const
 
Standard_Real LastLambda () const
 
const math_MatrixPoints () const
 
const math_MatrixPoles () const
 
const math_IntegerVectorKIndex () const
 

Protected Member Functions

void Init (const AppDef_MultiLine &SSP, const Standard_Integer FirstPoint, const Standard_Integer LastPoint)
 
Standard_Integer NbBColumns (const AppDef_MultiLine &SSP) const
 
Standard_Integer TheFirstPoint (const AppParCurves_Constraint FirstCons, const Standard_Integer FirstPoint) const
 
Standard_Integer TheLastPoint (const AppParCurves_Constraint LastCons, const Standard_Integer LastPoint) const
 
void Affect (const AppDef_MultiLine &SSP, const Standard_Integer Index, AppParCurves_Constraint &Cons, math_Vector &Vt, math_Vector &Vc)
 
void ComputeFunction (const math_Vector &Parameters)
 
void SearchIndex (math_IntegerVector &Index)
 
void MakeTAA (math_Vector &TheA, math_Vector &TheB)
 
void MakeTAA (math_Vector &TheA)
 
void MakeTAA (math_Vector &TheA, math_Matrix &TheB)
 

Constructor & Destructor Documentation

AppDef_TheLeastSquares::AppDef_TheLeastSquares ( const AppDef_MultiLine SSP,
const Standard_Integer  FirstPoint,
const Standard_Integer  LastPoint,
const AppParCurves_Constraint  FirstCons,
const AppParCurves_Constraint  LastCons,
const math_Vector Parameters,
const Standard_Integer  NbPol 
)
AppDef_TheLeastSquares::AppDef_TheLeastSquares ( const AppDef_MultiLine SSP,
const Standard_Integer  FirstPoint,
const Standard_Integer  LastPoint,
const AppParCurves_Constraint  FirstCons,
const AppParCurves_Constraint  LastCons,
const Standard_Integer  NbPol 
)
AppDef_TheLeastSquares::AppDef_TheLeastSquares ( const AppDef_MultiLine SSP,
const TColStd_Array1OfReal Knots,
const TColStd_Array1OfInteger Mults,
const Standard_Integer  FirstPoint,
const Standard_Integer  LastPoint,
const AppParCurves_Constraint  FirstCons,
const AppParCurves_Constraint  LastCons,
const math_Vector Parameters,
const Standard_Integer  NbPol 
)
AppDef_TheLeastSquares::AppDef_TheLeastSquares ( const AppDef_MultiLine SSP,
const TColStd_Array1OfReal Knots,
const TColStd_Array1OfInteger Mults,
const Standard_Integer  FirstPoint,
const Standard_Integer  LastPoint,
const AppParCurves_Constraint  FirstCons,
const AppParCurves_Constraint  LastCons,
const Standard_Integer  NbPol 
)

Member Function Documentation

void AppDef_TheLeastSquares::Affect ( const AppDef_MultiLine SSP,
const Standard_Integer  Index,
AppParCurves_Constraint Cons,
math_Vector Vt,
math_Vector Vc 
)
protected
AppParCurves_MultiCurve AppDef_TheLeastSquares::BezierValue ( )
const AppParCurves_MultiBSpCurve& AppDef_TheLeastSquares::BSplineValue ( )
void AppDef_TheLeastSquares::ComputeFunction ( const math_Vector Parameters)
protected
const math_Matrix& AppDef_TheLeastSquares::DerivativeFunctionMatrix ( ) const
const math_Matrix& AppDef_TheLeastSquares::Distance ( )
void AppDef_TheLeastSquares::Error ( Standard_Real F,
Standard_Real MaxE3d,
Standard_Real MaxE2d 
)
void AppDef_TheLeastSquares::ErrorGradient ( math_Vector Grad,
Standard_Real F,
Standard_Real MaxE3d,
Standard_Real MaxE2d 
)
Standard_Real AppDef_TheLeastSquares::FirstLambda ( ) const
const math_Matrix& AppDef_TheLeastSquares::FunctionMatrix ( ) const
void AppDef_TheLeastSquares::Init ( const AppDef_MultiLine SSP,
const Standard_Integer  FirstPoint,
const Standard_Integer  LastPoint 
)
protected
Standard_Boolean AppDef_TheLeastSquares::IsDone ( ) const
const math_IntegerVector& AppDef_TheLeastSquares::KIndex ( ) const
Standard_Real AppDef_TheLeastSquares::LastLambda ( ) const
void AppDef_TheLeastSquares::MakeTAA ( math_Vector TheA,
math_Vector TheB 
)
protected
void AppDef_TheLeastSquares::MakeTAA ( math_Vector TheA)
protected
void AppDef_TheLeastSquares::MakeTAA ( math_Vector TheA,
math_Matrix TheB 
)
protected
Standard_Integer AppDef_TheLeastSquares::NbBColumns ( const AppDef_MultiLine SSP) const
protected
void AppDef_TheLeastSquares::Perform ( const math_Vector Parameters)
void AppDef_TheLeastSquares::Perform ( const math_Vector Parameters,
const Standard_Real  l1,
const Standard_Real  l2 
)
void AppDef_TheLeastSquares::Perform ( const math_Vector Parameters,
const math_Vector V1t,
const math_Vector V2t,
const Standard_Real  l1,
const Standard_Real  l2 
)
void AppDef_TheLeastSquares::Perform ( const math_Vector Parameters,
const math_Vector V1t,
const math_Vector V2t,
const math_Vector V1c,
const math_Vector V2c,
const Standard_Real  l1,
const Standard_Real  l2 
)
const math_Matrix& AppDef_TheLeastSquares::Points ( ) const
const math_Matrix& AppDef_TheLeastSquares::Poles ( ) const
void AppDef_TheLeastSquares::SearchIndex ( math_IntegerVector Index)
protected
Standard_Integer AppDef_TheLeastSquares::TheFirstPoint ( const AppParCurves_Constraint  FirstCons,
const Standard_Integer  FirstPoint 
) const
protected
Standard_Integer AppDef_TheLeastSquares::TheLastPoint ( const AppParCurves_Constraint  LastCons,
const Standard_Integer  LastPoint 
) const
protected

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