is_ones
Method of RealMatrix.
Overloads
| Name | Description |
|---|---|
is_ones(real tolerance) -> bool | Returns true if all elements of the RealMatrix lhs are approximately 1, within the specified tolerance. |
is_ones() -> bool | Returns true if all elements of the RealMatrix lhs are 1. |
is_ones(real tolerance) -> bool
Returns true if all elements of the RealMatrix 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 RealMatrix lhs are 1.