Approximate a function on an interval [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 average error resulting from approximating the function by the polynomial are computed.
More...
|
| | AdvApprox_SimpleApprox (const int TotalDimension, const int TotalNumSS, const GeomAbs_Shape Continuity, const int WorkDegree, const int NbGaussPoints, const PLib_JacobiPolynomial &JacobiBase, const AdvApprox_EvaluatorFunction &Func) |
| |
| void | Perform (const NCollection_Array1< int > &LocalDimension, const NCollection_Array1< double > &LocalTolerancesArray, const double First, const double Last, const int MaxDegree) |
| | Constructs approximator tool.
|
| |
| bool | IsDone () const |
| |
| int | Degree () const |
| |
| occ::handle< NCollection_HArray1< double > > | Coefficients () const |
| | returns the coefficients in the Jacobi Base
|
| |
| occ::handle< NCollection_HArray2< double > > | FirstConstr () const |
| | returns the constraints at First
|
| |
| occ::handle< NCollection_HArray2< double > > | LastConstr () const |
| | returns the constraints at Last
|
| |
| occ::handle< NCollection_HArray1< double > > | SomTab () const |
| |
| occ::handle< NCollection_HArray1< double > > | DifTab () const |
| |
| double | MaxError (const int Index) const |
| |
| double | AverageError (const int Index) const |
| |
| void | Dump (Standard_OStream &o) const |
| | display information on approximation
|
| |
Approximate a function on an interval [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 average error resulting from approximating the function by the polynomial are computed.