/// <summary> /// Returns a range that contains all values greater than or equal to <paramref name="endpoint"/>. /// </summary> public static Range <C> AtLeast <C>(C endpoint) where C : IComparable <C> { return(new Range <C>(Cut.BelowValue(endpoint), Cut.AboveAll <C>())); }
/// <summary> /// Returns a range that contains every value of type <typeparamref name="C"/>. /// </summary> public static Range <C> All <C>() where C : IComparable <C> { return(new Range <C>(Cut.BelowAll <C>(), Cut.AboveAll <C>())); }
/// <summary> /// Returns a range that contains all values strictly greater than <paramref name="endpoint"/>. /// </summary> public static Range <C> GreaterThan <C>(C endpoint) where C : IComparable <C> { return(new Range <C>(Cut.AboveValue(endpoint), Cut.AboveAll <C>())); }