Click or drag to resize
Interval1D Constructor
Initializes a closed interval [min, max].

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Interval1D(
	double min,
	double max
)

Parameters

min
Type: SystemDouble
the smaller endpoint
max
Type: SystemDouble
the larger endpoint
Exceptions
ExceptionCondition
ArgumentExceptionif the min endpoint is greater than the max endpoint
ArgumentExceptionif either min or max is double.NaN, double.POSITIVE_INFINITY or double.NEGATIVE_INFINITY
See Also