qfeval_functions.functions.orthonormalize
- orthonormalize(a)[source]
Orthonormalizes the given vectors and returns the corresponding orthonormal vectors. Ignoring numerical errorrs, this function returns the same results as the Gram-Schmidt process.
If the given vectors is orthonormal, this function must return the identical vectors (CAVEAT: It may have a little numerical errors).
- Return type:
- Shape:
a: \((*, N, M)\) where * means any number of additional dimensions, N means the number of vectors, and M means the number of dimensions.