Skip to main content

is_approx

Method of RealArray.

Overloads

NameDescription
is_approx(const RealMatrix rhs) -> boolReturns true if the RealArray lhs is approximately equal to the RealArray rhs.
is_approx(const ComplexArray rhs) -> boolReturns true if the RealArray lhs is approximately equal to the RealArray rhs.
is_approx(const ComplexArray rhs, real tolerance) -> boolReturns true if the RealArray lhs is approximately equal to the RealArray rhs, within the specified tolerance.
is_approx(const BoolArray rhs) -> boolReturns true if the RealArray lhs is approximately equal to the RealArray rhs.
is_approx(const BoolArray rhs, real tolerance) -> boolReturns true if the RealArray lhs is approximately equal to the RealArray rhs, within the specified tolerance.
is_approx(const RealArray rhs) -> boolReturns true if the RealArray lhs is approximately equal to the RealArray rhs.
is_approx(const RealArray rhs, real tolerance) -> boolReturns true if the RealArray lhs is approximately equal to the RealArray rhs, within the specified tolerance.
is_approx(const IntegerArray rhs) -> boolReturns true if the RealArray lhs is approximately equal to the RealArray rhs.
is_approx(const IntegerArray rhs, real tolerance) -> boolReturns true if the RealArray lhs is approximately equal to the RealArray rhs, within the specified tolerance.
is_approx(const ComplexMatrix rhs) -> boolReturns true if the RealArray lhs is approximately equal to the RealArray rhs.
is_approx(const ComplexMatrix rhs, real tolerance) -> boolReturns true if the RealArray lhs is approximately equal to the RealArray rhs, within the specified tolerance.
is_approx(const RealMatrix rhs, real tolerance) -> boolReturns true if the RealArray lhs is approximately equal to the RealArray rhs, within the specified tolerance.
is_approx(const RealSparseMatrix rhs) -> boolReturns true if the RealArray lhs is approximately equal to the RealArray rhs.
is_approx(const ComplexSparseMatrix rhs) -> boolReturns true if the RealArray lhs is approximately equal to the RealArray rhs.
is_approx(const ComplexSparseMatrix rhs, real tolerance) -> boolReturns true if the RealArray lhs is approximately equal to the RealArray rhs, within the specified tolerance.
is_approx(const RealSparseMatrix rhs, real tolerance) -> boolReturns true if the RealArray lhs is approximately equal to the RealArray rhs, within the specified tolerance.

is_approx(const RealMatrix rhs) -> bool

Returns true if the RealArray lhs is approximately equal to the RealArray rhs.

Parameters

is_approx(const ComplexArray rhs) -> bool

Returns true if the RealArray lhs is approximately equal to the RealArray rhs.

Parameters

is_approx(const ComplexArray rhs, real tolerance) -> bool

Returns true if the RealArray lhs is approximately equal to the RealArray rhs, within the specified tolerance.

Parameters

  • rhs: The second RealArray to compare.
  • tolerance: The tolerance to use for comparison.

is_approx(const BoolArray rhs) -> bool

Returns true if the RealArray lhs is approximately equal to the RealArray rhs.

Parameters

is_approx(const BoolArray rhs, real tolerance) -> bool

Returns true if the RealArray lhs is approximately equal to the RealArray rhs, within the specified tolerance.

Parameters

  • rhs: The second RealArray to compare.
  • tolerance: The tolerance to use for comparison.

is_approx(const RealArray rhs) -> bool

Returns true if the RealArray lhs is approximately equal to the RealArray rhs.

Parameters

is_approx(const RealArray rhs, real tolerance) -> bool

Returns true if the RealArray lhs is approximately equal to the RealArray rhs, within the specified tolerance.

Parameters

  • rhs: The second RealArray to compare.
  • tolerance: The tolerance to use for comparison.

is_approx(const IntegerArray rhs) -> bool

Returns true if the RealArray lhs is approximately equal to the RealArray rhs.

Parameters

is_approx(const IntegerArray rhs, real tolerance) -> bool

Returns true if the RealArray lhs is approximately equal to the RealArray rhs, within the specified tolerance.

Parameters

  • rhs: The second RealArray to compare.
  • tolerance: The tolerance to use for comparison.

is_approx(const ComplexMatrix rhs) -> bool

Returns true if the RealArray lhs is approximately equal to the RealArray rhs.

Parameters

is_approx(const ComplexMatrix rhs, real tolerance) -> bool

Returns true if the RealArray lhs is approximately equal to the RealArray rhs, within the specified tolerance.

Parameters

  • rhs: The second RealArray to compare.
  • tolerance: The tolerance to use for comparison.

is_approx(const RealMatrix rhs, real tolerance) -> bool

Returns true if the RealArray lhs is approximately equal to the RealArray rhs, within the specified tolerance.

Parameters

  • rhs: The second RealArray to compare.
  • tolerance: The tolerance to use for comparison.

is_approx(const RealSparseMatrix rhs) -> bool

Returns true if the RealArray lhs is approximately equal to the RealArray rhs.

Parameters

is_approx(const ComplexSparseMatrix rhs) -> bool

Returns true if the RealArray lhs is approximately equal to the RealArray rhs.

Parameters

is_approx(const ComplexSparseMatrix rhs, real tolerance) -> bool

Returns true if the RealArray lhs is approximately equal to the RealArray rhs, within the specified tolerance.

Parameters

  • rhs: The second RealArray to compare.
  • tolerance: The tolerance to use for comparison.

is_approx(const RealSparseMatrix rhs, real tolerance) -> bool

Returns true if the RealArray lhs is approximately equal to the RealArray rhs, within the specified tolerance.

Parameters

  • rhs: The second RealArray to compare.
  • tolerance: The tolerance to use for comparison.