Sets the locations of singularities of the
integrand inside the integration interval.
Namespace:
Extreme.Mathematics.Calculus
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public void SetSingularities(
params double[] singularities
)
Public Sub SetSingularities (
ParamArray singularities As Double()
)
public:
void SetSingularities(
... array<double>^ singularities
)
member SetSingularities :
singularities : float[] -> unit
Parameters
- singularities
- Type: SystemDouble
A Double array containing the singularities
of the integrand.
Use this method to declare all points inside the
integration interval where the numerical integration
might encounter difficulties. These can be of two
kinds:
- The integrand has a singularity at
the specified point. Even though the function value
goes to infinity near the point, the value of the
integral is finite.
- The integrand has a discontinuity
at the specified point. The sudden jump in function
values would cause convergence to be very slow.
Only interior problem points should be
listed. The bounds of the integration interval
are treated separately.
When there is at least one interior
singularity or discontinuity, the
UseExtrapolation property is automatically
set to true, and extrapolation is used to
improve convergence for the integration around
the problem point(s).
An array containing the current singularities can be retrieved using the
GetSingularities method.
Reference