Approximate a function on an intervall [First,Last]
The result is a simple polynomial whose degree is as low as
possible to satisfy the required tolerance and the
maximum degree. The maximum error and the averrage error
resulting from approximating the function by the polynomial are computed
#include <AdvApprox_SimpleApprox.hxx>
Public Member Functions |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| | AdvApprox_SimpleApprox (const Standard_Integer TotalDimension, const Standard_Integer TotalNumSS, const GeomAbs_Shape Continuity, const Standard_Integer WorkDegree, const Standard_Integer NbGaussPoints, const Handle< PLib_JacobiPolynomial > &JacobiBase, const AdvApprox_EvaluatorFunction &Func) |
| void | Perform (const TColStd_Array1OfInteger &LocalDimension, const TColStd_Array1OfReal &LocalTolerancesArray, const Standard_Real First, const Standard_Real Last, const Standard_Integer MaxDegree) |
| | Constructs approximator tool.
|
| Standard_Boolean | IsDone () const |
| Standard_Integer | Degree () const |
| Handle_TColStd_HArray1OfReal | Coefficients () const |
| | returns the coefficients in the Jacobi Base
|
| Handle_TColStd_HArray2OfReal | FirstConstr () const |
| | returns the constraints at First
|
| Handle_TColStd_HArray2OfReal | LastConstr () const |
| | returns the constraints at Last
|
| Handle_TColStd_HArray1OfReal | SomTab () const |
| Handle_TColStd_HArray1OfReal | DifTab () const |
| Standard_Real | MaxError (const Standard_Integer Index) const |
| Standard_Real | AverageError (const Standard_Integer Index) const |
| void | Dump (Standard_OStream &o) const |
| | display information on approximation
|
Constructor & Destructor Documentation
Member Function Documentation
| Handle_TColStd_HArray1OfReal AdvApprox_SimpleApprox::Coefficients |
( |
| ) |
const |
| Handle_TColStd_HArray1OfReal AdvApprox_SimpleApprox::DifTab |
( |
| ) |
const |
| Handle_TColStd_HArray2OfReal AdvApprox_SimpleApprox::FirstConstr |
( |
| ) |
const |
| Handle_TColStd_HArray2OfReal AdvApprox_SimpleApprox::LastConstr |
( |
| ) |
const |
| void AdvApprox_SimpleApprox::operator delete |
( |
void * |
anAddress | ) |
[inline] |
| void* AdvApprox_SimpleApprox::operator new |
( |
size_t |
, |
|
|
void * |
anAddress |
|
) |
| [inline] |
| void* AdvApprox_SimpleApprox::operator new |
( |
size_t |
size | ) |
[inline] |
| Handle_TColStd_HArray1OfReal AdvApprox_SimpleApprox::SomTab |
( |
| ) |
const |
The documentation for this class was generated from the following file: