isIdentity

Function
Common
fun Matrix.isIdentity(): Boolean

Whether the given matrix is the identity matrix.