gram-schmidt ( matrix -- orthogonal )
Extra matrix operations

Prev:linearly-independent-matrix? ( matrix -- ? )
Next:gram-schmidt-normalize ( matrix -- orthonormal )


Vocabulary
math.matrices.extras

Inputs
matrixa matrix


Outputs
orthogonala matrix


Word description
Apply a Gram-Schmidt transform on the matrix.

Examples
USING: math.matrices.extras prettyprint ; { { 1 2 } { 3 4 } { 5 6 } } gram-schmidt .
{ { 1 2 } { 4/5 -2/5 } { 0 0 } }


Definition