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