is_approx_to_constant
Method of BoolArray.
Overloads
| Name | Description |
|---|---|
is_approx_to_constant(bool val, bool tolerance) -> bool | Returns true if all elements of the BoolArray lhs are approximately equal to the constant val, within the specified tolerance. |
is_approx_to_constant(bool val) -> bool | Returns true if all elements of the BoolArray lhs are approximately equal to the constant val. |
is_approx_to_constant(integer val) -> bool | Returns true if all elements of the BoolArray lhs are approximately equal to the constant val. |
is_approx_to_constant(integer val, bool tolerance) -> bool | Returns true if all elements of the BoolArray lhs are approximately equal to the constant val, within the specified tolerance. |
is_approx_to_constant(bool val, bool tolerance) -> bool
Returns true if all elements of the BoolArray lhs are approximately equal to the constant val, within the specified tolerance.
Parameters
- val: The constant to compare against.
- tolerance: The tolerance to use for comparison.
is_approx_to_constant(bool val) -> bool
Returns true if all elements of the BoolArray lhs are approximately equal to the constant val.
Parameters
- val: The constant to compare against.
is_approx_to_constant(integer val) -> bool
Returns true if all elements of the BoolArray lhs are approximately equal to the constant val.
Parameters
- val: The constant to compare against.
is_approx_to_constant(integer val, bool tolerance) -> bool
Returns true if all elements of the BoolArray lhs are approximately equal to the constant val, within the specified tolerance.
Parameters
- val: The constant to compare against.
- tolerance: The tolerance to use for comparison.