Array2D<T>.From Method

Definition

Namespace: Extreme.Collections
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

From(Int32) Returns the array starting at the specified position on the main diagonal.
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)

Returns the array starting at the specified position on the main diagonal.
C#
public Array2D<T> From(
	int index
)

Parameters

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

Return Value

Array2D<T>

From(Int32, Int32)

Returns the array starting at the specified position.
C#
public Array2D<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

Array2D<T>

From(Int32, Int32, Int32)

Returns the array starting at the specified position with the specified leading dimension.
C#
public Array2D<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

Array2D<T>

See Also