Click or drag to resize

Range(Position, Position, Int32) Constructor

Constructs a Range instance with the specified start and end positions and a stride.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public Range(
	Position position1,
	Position position2,
	int stride
)

Parameters

position1  Position
A value from the Position enumeration indicating the start of the data.
position2  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 stride is zero or if the stride is not compatible with the start and end positions.
See Also