MtxIntDiff.QuadRegular Method

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.

#NameTypeDescription
1FunTRealFunction
2lbDoublescalar
3ubDoublescalar
4FloatPrecisionTMtxFloatPrecision
5ConstantsTVec
6ObjConstTObjectArray
7X0TVecsource TVec
8F0TVecsource TVec
9StopReasonTIntStopReason
10ToleranceDoublescalar
11MaxIterInteger
12MaxNInsertInteger

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

See Also: MtxIntDiff.QuadGauss