Returns an integer that represents the number of elements in the specified dimension of the DataArrayBase.

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

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

Parameters

dimension (System.Int32)
A zero-based dimension of the DataArrayBase whose length needs to be determined.

Return Value

An integer that represents the number of elements in the specified dimension.

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptiondimension is less than zero -or-dimension is greater than or equal to Rank.