Interval.FromEndpoints Method
Click or drag to resize

IntervalFromEndpoints Method

Creates a new interval, given its endpoints.

Namespace:  Meta.Numerics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.0.5.0 (4.0.5.0)
Syntax
public static Interval FromEndpoints(
	double a,
	double b
)

Parameters

a
Type: SystemDouble
The left (lower) endpoint of the interval.
b
Type: SystemDouble
The right (upper) endpoint of the interval.

Return Value

Type: Interval
The specified interval.
Remarks
If width of the interval is very much smaller than its endpoint values, accuracy will be better maintained by constructing the interval using one endpoint and its width.
See Also