AngouriMath
Navigation
DefiniteIntegral
Method with 2 overloads
DefiniteIntegral(AngouriMath.Entity.Variable,AngouriMath.Entity.Number.Complex,AngouriMath.Entity.Number.Complex,System.Int32)
Summary
Integrates numerically overx between two bounds, without
looking for an antiderivative. Only works for one-variable functions.
Parameter "x"
The variable to integrate over.Parameter "from"
The lower bound.Parameter "to"
The upper bound.Parameter "stepCount"
How many panels to cut the segment into, each integrated by the five-point Gauss–Legendre rule; more
is more accurate and slower. Neither bound is evaluated, so an integrable singularity at one is
allowed, and one that diverges is NaN. The value has the digits the rule agrees on as the panels are
doubled, at most fifteen, a double's. A singularity inside the segment is not seen.
Returns
The value of the integral.Remarks
This is the instance method the obsoleteMathS.Compute.DefiniteIntegral said to use and which did not exist — every other member of that group had a
counterpart on Entity and this one did not, so removing the group
would have taken numeric definite integration with it.
DefiniteIntegral(AngouriMath.Entity.Variable,PeterO.Numbers.EDecimal,PeterO.Numbers.EDecimal,System.Int32)
Summary
Integrates numerically overx between two real bounds.
Parameter "x"
The variable to integrate over.Parameter "from"
The lower bound.Parameter "to"
The upper bound.Parameter "stepCount"
How many panels to cut the segment into, each integrated by the five-point Gauss–Legendre rule; more
is more accurate and slower. Neither bound is evaluated, so an integrable singularity at one is
allowed, and one that diverges is NaN. The value has the digits the rule agrees on as the panels are
doubled, at most fifteen, a double's. A singularity inside the segment is not seen.
Returns
The value of the integral.
Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 5057 pages online