Safely gets the index at the given position by looping around the end of subset if index exceeds Length.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public int Get(
	int index
)
Visual Basic (Declaration)
Public Function Get ( _
	index As Integer _
) As Integer
Visual C++
public:
int Get(
	int index
)

Parameters

index
Type: System..::.Int32
An index.

Return Value

Returns this[ index % this.Length ].

See Also