|  | DoubleSymBandMatrixDiagonal(Int32) Method | 
            Returns a vector view of a diagonal of this matrix.
            
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
 Syntax
Syntaxpublic DoubleVector Diagonal(
	int k
)
Public Function Diagonal ( 
	k As Integer
) As DoubleVector
public:
DoubleVector^ Diagonal(
	int k
)
member Diagonal : 
        k : int -> DoubleVector Parameters
- k  Int32
- Specifies which diagonal.
Return Value
DoubleVectorA vector view of the specified diagonal.
 Remarks
Remarks
            If 
k is zero, the main diagonal of the matrix is returned. If
            
k is positive, the returned vector 
v satisfies:
            
<c>v[i] = this[i,i+k]</c>
            If 
k is negative, the returned vector 
v satisfies:
            
 See Also
See Also