Gets a
Vector view of the specified diagonal
of this instance.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Overridable Function GetDiagonal ( _
index As Integer _
) As Vector |
| C# |
|---|
public virtual Vector GetDiagonal (
int index
) |
| C++ |
|---|
public:
virtual Vector^ GetDiagonal (
int index
) |
Parameters
- index (System.Int32)
- The index of the diagonal. A value
of zero indicates the main diagonal. A value greater
than zero indicates a superdiagonal. A value less than
zero indicates a subdiagonal.
Return Value
A
Vector view of the diagonal
of this
Matrix.
Remarks
Exceptions