Test if a numeric matrix is orthonormal.

is_orthonormal(x, tol = 0.001)

Arguments

x

numeric matrix

tol

tolerance used to test floating point differences