Skip to main content

is_zero

Method of ComplexArray.

Overloads

NameDescription
is_zero(real tolerance) -> boolReturns true if all elements of the ComplexArray lhs are approximately 0, within the specified tolerance.
is_zero() -> boolReturns true if all elements of the ComplexArray lhs are 0.

is_zero(real tolerance) -> bool

Returns true if all elements of the ComplexArray lhs are approximately 0, within the specified tolerance.

Parameters

  • tolerance: The tolerance to use for comparison.

is_zero() -> bool

Returns true if all elements of the ComplexArray lhs are 0.