Interval<T>.CompareTo Method

Compares two intervals.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public int CompareTo(
	Interval<T> other
)

Parameters

other  Interval<T>

Return Value

Int32
-1 if every element in this interval is less than or equal to every element in other; 1 if every element in this interval is less than or equal to every element in other; Otherwise 0.

Implements

IComparable<T>.CompareTo(T)

See Also