double QuadRegular(TRealFunction Fun, double lb, double ub, const TMtxFloatPrecision FloatPrecision, TVec *Constants, const DewArray<tObject *> &ObjConst, TVec *X0, TVec *F0, TIntStopReason &StopReason, double Tolerance = 1.0E-4, int MaxIter = 8, int MaxNInsert = 7);
Numerical integration by using optimized quadrature formula.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Fun | TRealFunction | |
| 2 | lb | double | |
| 3 | ub | double | |
| 4 | FloatPrecision | const TMtxFloatPrecision | |
| 5 | Constants | TVec * | |
| 6 | ObjConst | const DewArray<tObject *> & | |
| 7 | X0 | TVec * | |
| 8 | F0 | TVec * | |
| 9 | StopReason | TIntStopReason & | |
| 10 | Tolerance = 1.0E-4 | double | |
| 11 | MaxIter = 8 | int | |
| 12 | MaxNInsert = 7 | int |
Returns: the numerical approximate on integral of function Fun between limits lb and ub.
See Also: MtxIntDiff::QuadGauss
Declared in Dew::Math::Units::MtxIntDiff · Dew.Math/Units.MtxIntDiff.h · Cross-compiler