diagonal
Method of RealMatrix.
Overloads
| Name | Description |
|---|---|
diagonal() -> RealMatrix | Returns the diagonal elements of the RealMatrix as a column vector. |
diagonal(integer index) -> RealMatrix | Returns the diagonal elements of the RealMatrix as a column vector. |
diagonal() -> RealMatrix
Returns the diagonal elements of the RealMatrix as a column vector.
diagonal(integer index) -> RealMatrix
Returns the diagonal elements of the RealMatrix as a column vector.
Parameters
- index: The diagonal to extract.