Click or drag to resize

Slice(Int32, Int32, Int32) Constructor

Constructs a Slice instance with the specified starting index, total number of elements, and stride.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public Slice(
	int start,
	int numElements,
	int stride
)

Parameters

start  Int32
The first data element.
numElements  Int32
The total number of data elements.
stride  Int32
The step increment between successive data elements.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if the start is negative, the number of elements is not positive, the stride is zero, or the calculation of the end point results in a negative value.
See Also