MtxIntDiff.QuadRegular Method

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.

#NameTypeDescription
1FunTRealFunction
2lbDoublescalar
3ubDoublescalar
4FloatPrecisionTMtxFloatPrecision
5ConstantsTVecsource TVec
6ObjConstObject[]
7X0TVecsource TVec
8F0TVecsource TVec
9StopReasonTIntStopReason (ref)
10ToleranceDoublescalar
11MaxIterInt32
12MaxNInsertInt32

Returns: Double - the numerical approximate on integral of function Fun between limits lb and ub.

See Also: MtxIntDiff.QuadGauss