GRAM_SCHMIDT _ _ _ _ _ _ _ _ _ _ _ _ operator
(If you are feeling lazy then the braces can be omitted.)
<vec\_list> :- linearly independent vectors. Each vector must be written as a list, eg:{1,0,0}.
gram_schmidtperforms the gram_schmidt orthonormalization on the input vectors.
It returns a list of orthogonal normalized vectors.
gram_schmidt({{1,0,0},{1,1,0},{1,1,1}});
{{1,0,0},{0,1,0},{0,0,1}}
gram_schmidt({{1,2},{3,4}});
1 2 2*sqrt(5) -sqrt(5)
{{ ------- , ------- },{ --------- , -------- }}
sqrt(5) sqrt(5) 5 5