function QuadRegular(Fun: TRealFunction; lb: Double; ub: Double; const FloatPrecision: TMtxFloatPrecision; const Constants: TVec; const ObjConst: TObjectArray; X0: TVec; F0: TVec; out StopReason: TIntStopReason; Tolerance: Double; MaxIter: Integer; MaxNInsert: Integer): Double;
Numerical integration by using optimized quadrature formula.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Fun | TRealFunction | |
| 2 | lb | Double | scalar |
| 3 | ub | Double | scalar |
| 4 | FloatPrecision | TMtxFloatPrecision | |
| 5 | Constants | TVec | |
| 6 | ObjConst | TObjectArray | |
| 7 | X0 | TVec | source TVec |
| 8 | F0 | TVec | source TVec |
| 9 | StopReason | TIntStopReason | |
| 10 | Tolerance | Double | scalar |
| 11 | MaxIter | Integer | |
| 12 | MaxNInsert | Integer |
Returns: Double - the numerical approximate on integral of function Fun between limits lb and ub.
See Also: MtxIntDiff.QuadGauss