Gets a vector view of the diagonal elements
of this instance.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Vector<T> GetDiagonal()
Public Function GetDiagonal As Vector(Of T)
public:
Vector<T>^ GetDiagonal()
member GetDiagonal : unit -> Vector<'T>
Return Value
Type:
VectorTA vector view of the diagonal
of this instance.
This property returns a vector view of the
diagonal. Changing the elements of this VectorT
will also change the corresponding elements of the
MatrixT. If you want
the result to be independent of the matrix,
use the CloneData method on the
result.
Reference