Interface IRange<T>
Common interface for Range objects, such as DoubleRange,
IntRange or FloatRange. A range represents the
interval between two values in the form [min, max].
Inherited Members
System.IFormattable.ToString(System.String, System.IFormatProvider)
Namespace: Mars.Numerics.Ranges
Assembly: Mars.Numerics.dll
Syntax
public interface IRange<T> : IFormattable
Type Parameters
Name | Description |
---|---|
T | The type of the range. |
Properties
| Improve this Doc View SourceMax
Maximum value of the range.
Declaration
T Max { get; set; }
Property Value
Type | Description |
---|---|
T |
Remarks
Represents maximum value (right side limit) of the range [min, max].
See Also
| Improve this Doc View SourceMin
Minimum value of the range.
Declaration
T Min { get; set; }
Property Value
Type | Description |
---|---|
T |
Remarks
Represents minimum value (left side limit) of the range [min, max].