- Range <A> (A From, A To, A Step, IEnumerable<A> runRange)
- RangeExtensions
- As <A> (this K<Range, A> ma)
- InRange <A> (this K<Range, A> ma, A value)
- Overlaps <A> (this K<Range, A> ma, Range<A> other)
- Range
- zero <A> ()
- fromMinMax <A> (A min, A max)
- fromMinMax <A> (A min, A max, A step)
- fromCount <A> (A min, A count)
- fromCount <A> (A min, A count, A step)
- Range
record Range <A> (A From, A To, A Step, IEnumerable<A> runRange) Source #
Represents a range of values
type | A | Bound values type |
class RangeExtensions Source #
method Range<A> fromMinMax <A> (A min, A max) Source #
where
A :
INumberBase<A>,
ISubtractionOperators<A, A, A>,
IComparisonOperators<A, A, bool>,
IAdditionOperators<A, A, A>,
IEqualityOperators<A, A, bool>
Construct a new range
param | from | The minimum value in the range |
param | to | The maximum value in the range |
method Range<A> fromMinMax <A> (A min, A max, A step) Source #
where
A :
IAdditionOperators<A, A, A>,
IComparisonOperators<A, A, bool>
Construct a new range
param | from | The minimum value in the range |
param | to | The maximum value in the range |
param | step | The size of each step in the range |