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