DataFrame<R, C>.GetRowAtAs<T> Method

Gets the row at the specified row index.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public virtual Vector<T> GetRowAtAs<T>(
	int index
)

Parameters

index  Int32
The zero-based index of the row.

Type Parameters

T
The desired element type of the returned row.

Return Value

Vector<T>
A vector with element type T that contains the elements of the row at position index.

Exceptions

ArgumentOutOfRangeException

index is less than zero or greater than or equal to the number of rows.

See Also