Skip to main content

is_constant

Method of RealMatrix.

Overloads​

NameDescription
is_constant(real tolerance) -> boolReturns true if all elements of the RealMatrix lhs are approximately the same, within the specified tolerance.
is_constant() -> boolReturns true if all elements of the RealMatrix lhs are the same.

is_constant(real tolerance) -> bool​

Returns true if all elements of the RealMatrix lhs are approximately the same, within the specified tolerance.

Parameters​

  • tolerance: The tolerance to use for comparison.

is_constant() -> bool​

Returns true if all elements of the RealMatrix lhs are the same.