IntervalFromEndpoints Method
Creates a new interval, given its endpoints.
Namespace: Meta.NumericsAssembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
public static Interval FromEndpoints(
double a,
double b
)
Public Shared Function FromEndpoints (
a As Double,
b As Double
) As Interval
public:
static Interval FromEndpoints(
double a,
double b
)
static member FromEndpoints :
a : float *
b : float -> Interval
- a Double
- The left (lower) endpoint of the interval.
- b Double
- The right (upper) endpoint of the interval.
IntervalThe specified interval.
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.