is_approx_to_constant
Method of ComplexArray.
Overloads
| Name | Description |
|---|---|
is_approx_to_constant(complex val) -> bool | Returns true if all elements of the ComplexArray lhs are approximately equal to the constant val. |
is_approx_to_constant(integer val, real tolerance) -> bool | Returns true if all elements of the ComplexArray lhs are approximately equal to the constant val, within the specified tolerance. |
is_approx_to_constant(integer val) -> bool | Returns true if all elements of the ComplexArray lhs are approximately equal to the constant val. |
is_approx_to_constant(complex val, real tolerance) -> bool | Returns true if all elements of the ComplexArray 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 ComplexArray lhs are approximately equal to the constant val. |
is_approx_to_constant(real val, real tolerance) -> bool | Returns true if all elements of the ComplexArray lhs are approximately equal to the constant val, within the specified tolerance. |
is_approx_to_constant(real val) -> bool | Returns true if all elements of the ComplexArray lhs are approximately equal to the constant val. |
is_approx_to_constant(bool val, real tolerance) -> bool | Returns true if all elements of the ComplexArray lhs are approximately equal to the constant val, within the specified tolerance. |
is_approx_to_constant(complex val) -> bool
Returns true if all elements of the ComplexArray lhs are approximately equal to the constant val.
Parameters
- val: The constant to compare against.
is_approx_to_constant(integer val, real tolerance) -> bool
Returns true if all elements of the ComplexArray 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(integer val) -> bool
Returns true if all elements of the ComplexArray lhs are approximately equal to the constant val.
Parameters
- val: The constant to compare against.
is_approx_to_constant(complex val, real tolerance) -> bool
Returns true if all elements of the ComplexArray 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 ComplexArray lhs are approximately equal to the constant val.
Parameters
- val: The constant to compare against.
is_approx_to_constant(real val, real tolerance) -> bool
Returns true if all elements of the ComplexArray 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(real val) -> bool
Returns true if all elements of the ComplexArray lhs are approximately equal to the constant val.
Parameters
- val: The constant to compare against.
is_approx_to_constant(bool val, real tolerance) -> bool
Returns true if all elements of the ComplexArray 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.