set_identity
Method of ComplexMatrix.
Overloads
| Name | Description |
|---|---|
set_identity() -> ComplexMatrix | Sets the ComplexMatrix lhs to the identity matrix. |
set_identity(integer rows, integer cols) -> ComplexMatrix | Sets the ComplexMatrix lhs to the identity matrix (not necessarily square). |
set_identity() -> ComplexMatrix
Sets the ComplexMatrix lhs to the identity matrix.
set_identity(integer rows, integer cols) -> ComplexMatrix
Sets the ComplexMatrix lhs to the identity matrix (not necessarily square).
Parameters
- rows: The number of rows for the identity matrix.
- cols: The number of columns for the identity matrix.