DEInt.setParams

Initialize an object for computing DE integration.

  1. this(F xa, F xb, Flag!"isExpType" isExpType = No.isExpType, size_t trapN = 0, F ta = F.nan, F tb = F.nan)
  2. void setParams(F xa, F xb, Flag!"isExpType" isExpType = No.isExpType, size_t trapN = 0, F ta = F.nan, F tb = F.nan)
    struct DEInt(F)
    void
    setParams
    (
    F xa
    ,
    F xb
    ,
    Flag!"isExpType" isExpType = No.isExpType
    ,
    size_t trapN = 0
    ,
    F ta = F.nan
    ,
    F tb = F.nan
    )
    in { if (isExpType) assert (_xa != -F.infinity); }

Parameters

xa
Type: F

starting value of original integration.

xb
Type: F

end value of original integration.

isExpType
Type: Flag!"isExpType"

if the integration is formed as int_a^b f(x) exp(-x) dx, this value is Yes. otherwise No.

trapN
Type: size_t

division points of trapezoidal quadrature. If this value is 0, 100 is used internally.

ta
Type: F

starting value of integration transformed by DE-formula. If this value is NaN, -5 is used internally.

tb
Type: F

starting value of integration transformed by DE-formula. If this value is NaN, +5 is used internally.

Meta