is_ones
Method of ComplexMatrix.
Overloads
| Name | Description |
|---|---|
is_ones(real tolerance) -> bool | Returns true if all elements of the ComplexMatrix lhs are approximately 1, within the specified tolerance. |
is_ones() -> bool | Returns true if all elements of the ComplexMatrix lhs are 1. |
is_ones(real tolerance) -> bool
Returns true if all elements of the ComplexMatrix lhs are approximately 1, within the specified tolerance.
Parameters
- tolerance: The tolerance to use for comparison.
is_ones() -> bool
Returns true if all elements of the ComplexMatrix lhs are 1.