Returns an array slice that corresponds to a column in the array.
Namespace:
Extreme.Collections
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public ArraySlice<T> Diagonal(
int index
)
Public Function Diagonal (
index As Integer
) As ArraySlice(Of T)
public:
ArraySlice<T> Diagonal(
int index
)
member Diagonal :
index : int -> ArraySlice<'T>
Parameters
- index
- Type: SystemInt32
The distance of the diagonal from the main diagonal.
Positive values are above the main diagonal. Negative values are below.
Return Value
Type:
ArraySliceTAn array slice that starts at the first element in the diagonal.
Reference