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 NativeArraySlice<T> Diagonal(
int index
)
Public Function Diagonal (
index As Integer
) As NativeArraySlice(Of T)
public:
NativeArraySlice<T> Diagonal(
int index
)
member Diagonal :
index : int -> NativeArraySlice<'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:
NativeArraySliceTAn array slice that starts at the first element in the diagonal.
Reference