Click or drag to resize

SliceSet(Int32, Position, Int32) Method

Sets the specified starting index, a Position value indicating the end of the data, and a specified stride.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public virtual void Set(
	int start,
	Position position,
	int stride
)

Parameters

start  Int32
The first data element.
position  Position
A value from the Position enumeration indicating the end of the data.
stride  Int32
The step increment between successive data elements.
Exceptions
ExceptionCondition
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.
Remarks
If the stride is negative, the end position is set to zero.
See Also