Skip to main content

is_zero

Method of RealArray.

Overloads

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

is_zero() -> bool

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

is_zero(real tolerance) -> bool

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

Parameters

  • tolerance: The tolerance to use for comparison.