Skip to main content

is_approx_to_constant

Method of ComplexMatrix.

Overloads

NameDescription
is_approx_to_constant(bool val) -> boolReturns true if all elements of the ComplexMatrix lhs are approximately equal to the constant val.
is_approx_to_constant(bool val, real tolerance) -> boolReturns true if all elements of the ComplexMatrix lhs are approximately equal to the constant val, within the specified tolerance.
is_approx_to_constant(real val) -> boolReturns true if all elements of the ComplexMatrix lhs are approximately equal to the constant val.
is_approx_to_constant(real val, real tolerance) -> boolReturns true if all elements of the ComplexMatrix lhs are approximately equal to the constant val, within the specified tolerance.
is_approx_to_constant(complex val, real tolerance) -> boolReturns true if all elements of the ComplexMatrix lhs are approximately equal to the constant val, within the specified tolerance.
is_approx_to_constant(integer val) -> boolReturns true if all elements of the ComplexMatrix lhs are approximately equal to the constant val.
is_approx_to_constant(integer val, real tolerance) -> boolReturns true if all elements of the ComplexMatrix lhs are approximately equal to the constant val, within the specified tolerance.
is_approx_to_constant(complex val) -> boolReturns true if all elements of the ComplexMatrix lhs are approximately equal to the constant val.

is_approx_to_constant(bool val) -> bool

Returns true if all elements of the ComplexMatrix 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 ComplexMatrix 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 ComplexMatrix 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 ComplexMatrix 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(complex val, real tolerance) -> bool

Returns true if all elements of the ComplexMatrix 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 ComplexMatrix 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 ComplexMatrix 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(complex val) -> bool

Returns true if all elements of the ComplexMatrix lhs are approximately equal to the constant val.

Parameters

  • val: The constant to compare against.