Range Constructor

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

Range(Int32, Int32) Constructs a new Range.
Range(Int32, Int32, Int32) Constructs a new Range.

Range(Int32, Int32)

Constructs a new Range.
C#
public Range(
	int startIndex,
	int endIndex
)

Parameters

startIndex  Int32
The first index in the range.
endIndex  Int32
The last index in the range.

Remarks

The Stride is equal to 1.

Range(Int32, Int32, Int32)

Constructs a new Range.
C#
public Range(
	int startIndex,
	int endIndex,
	int stride
)

Parameters

startIndex  Int32
The first index in the range.
endIndex  Int32
The last index in the range.
stride  Int32
The increment for the index.

See Also