Double QuadRegular(TRealFunction Fun, Double lb, Double ub, TMtxFloatPrecision FloatPrecision, TVec Constants, Object[] ObjConst, TVec X0, TVec F0, ref TIntStopReason StopReason, Double Tolerance, Int32 MaxIter, Int32 MaxNInsert)
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 | source TVec |
| 6 | ObjConst | Object[] | |
| 7 | X0 | TVec | source TVec |
| 8 | F0 | TVec | source TVec |
| 9 | StopReason | TIntStopReason (ref) | |
| 10 | Tolerance | Double | scalar |
| 11 | MaxIter | Int32 | |
| 12 | MaxNInsert | Int32 |
Returns: Double - the numerical approximate on integral of function Fun between limits lb and ub.
See Also: MtxIntDiff.QuadGauss