powered by
Handles more cases than tourr::is_orthonormal().
is_orthonormal(x, tol = 0.001)
Numeric matrix to test the orthonormality of.
Tolerance of (the sum of element-wise) floating point differences.
Single logical of the orthonormal matrix of the matrix.
# NOT RUN { is_orthonormal(tourr::basis_random(n = 6)) is_orthonormal(matrix(1:12, ncol=2), tol = 0.01) # }
Run the code above in your browser using DataLab