Interval<T>.CompareTo Method

Compares two intervals.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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