Click or drag to resize

Interval.FromEndpoints Method

Creates a new interval, given its endpoints.

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

Parameters

a
Type: System.Double
The left (lower) endpoint of the interval.
b
Type: System.Double
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