Sets the specified start and end positions and a stride.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public void Set(
	Position position1,
	Position position2,
	int stride
)
Visual Basic (Declaration)
Public Sub Set ( _
	position1 As Position, _
	position2 As Position, _
	stride As Integer _
)
Visual C++
public:
void Set(
	Position position1, 
	Position position2, 
	int stride
)

Parameters

position1
Type: CenterSpace.NMath.Core..::.Position
A value from the Position enumeration indicating the start of the data.
position2
Type: CenterSpace.NMath.Core..::.Position
A value from the Position enumeration indicating the end of the data.
stride
Type: System..::.Int32
The step increment between successive data elements.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentException Thrown if the stride is zero or if the stride is not compatible with the start and end positions.

See Also