Ortonormalization of Gram-Schmidt

It transforms a free family in an ortonormal basis of a unitary space

Euclidean metric in R^n

Metric given by means of a positive definite symmetric matrix

Unitary metric in C^n

Metric given by means of a positive definite hermitian matrix