ReadOnlySpan2D<T>.From Method

Definition

Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

From(Int32, Int32) Returns the array starting at the specified position.
From(Int32, Int32, Int32) Returns the array starting at the specified position with the specified leading dimension.

From(Int32, Int32)

Returns the array starting at the specified position.
C#
public ReadOnlySpan2D<T> From(
	int row,
	int column
)

Parameters

row  Int32
The zero-based row of the top left element.
column  Int32
The zero-based column of the top left element.

Return Value

ReadOnlySpan2D<T>

From(Int32, Int32, Int32)

Returns the array starting at the specified position with the specified leading dimension.
C#
public ReadOnlySpan2D<T> From(
	int row,
	int column,
	int leadingDimension
)

Parameters

row  Int32
The zero-based row of the top left element.
column  Int32
The zero-based column of the top left element.
leadingDimension  Int32
The leading dimension of the 2D array.

Return Value

ReadOnlySpan2D<T>

See Also