 | FloatComplexTriDiagMatrixDiagonal Method (Int32) |
Returns a vector view of a diagonal of this matrix.
Namespace:
CenterSpace.NMath.Core
Assembly:
NMath (in NMath.dll) Version: 7.4
Syntaxpublic FloatComplexVector Diagonal(
int k
)
Public Function Diagonal (
k As Integer
) As FloatComplexVector
public:
FloatComplexVector^ Diagonal(
int k
)
member Diagonal :
k : int -> FloatComplexVector
Parameters
- k
- Type: SystemInt32
A diagonal.
Return Value
Type:
FloatComplexVectorA vector view of the specified diagonal.
Remarks
If
k is zero, the main diagonal of the matrix is returned. If
k is positive, the returned vector
v satisfies:
If
k is negative, the returned vector
v satisfies:
See Also