Read Only Span 2D<T>.Column From Method
Returns an array with offset that corresponds to a column in the array that starts at the specified position.
Definition
Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
An array with offset that corresponds to a row in the array that starts at the specified position.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public ReadOnlySpan<T> ColumnFrom(
int row,
int column
)
Parameters
- row Int32
- The zero-based row of the first element in the array slice.
- column Int32
- The zero-based column of the first element in the array slice.
Return Value
ReadOnlySpan<T>An array with offset that corresponds to a row in the array that starts at the specified position.
Remarks
All elements in a column are stored contiguously.