| Range(Int32, Position, Int32) Constructor |
Constructs a Range instance with the specified starting index, total number of
elements, and stride.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public Range(
int start,
Position position,
int stride
)
Public Sub New (
start As Integer,
position As Position,
stride As Integer
)
public:
Range(
int start,
Position position,
int stride
)
new :
start : int *
position : Position *
stride : int -> Range
Parameters
- start Int32
- The first data element.
- position Position
- The data location where this slice ends.
- stride Int32
- The step increment between successive data elements.
Exceptions Exception | Condition |
---|
InvalidArgumentException |
Thrown if the start is negative, the stride is zero, the position is
Position.Start and the stride is positive or the position is
Position.End and the stride is negative.
|
See Also