is_identity
Method of ComplexMatrix.
Overloads
| Name | Description |
|---|---|
is_identity(real tolerance) -> bool | Checks if a ComplexMatrix is approximately equal to the identity matrix. |
is_identity() -> bool | Checks if a ComplexMatrix is approximately equal to the identity matrix. |
is_identity(real tolerance) -> bool
Checks if a ComplexMatrix is approximately equal to the identity matrix.
Parameters
- tolerance: The numerical tolerance to use when performing the check.
is_identity() -> bool
Checks if a ComplexMatrix is approximately equal to the identity matrix.