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].
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
Max
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].
Min
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].