Skip to main content

is_identity

Method of RealMatrix.

Overloads

NameDescription
is_identity(real tolerance) -> boolChecks if a RealMatrix is approximately equal to the identity matrix.
is_identity() -> boolChecks if a RealMatrix is approximately equal to the identity matrix.

is_identity(real tolerance) -> bool

Checks if a RealMatrix is approximately equal to the identity matrix.

Parameters

  • tolerance: The numerical tolerance to use when performing the check.

is_identity() -> bool

Checks if a RealMatrix is approximately equal to the identity matrix.