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