ReadOnlySpan2D<T>.ColumnFrom 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.2
C#
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.

See Also