Data Frame<R, C>.Get Row At As<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.3
C#
A vector with element type T that contains the elements of the row at position index.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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
Argument | index is less than zero or greater than or equal to the number of rows. |