Math 781: Matrices and Data

Welcome! You have found the homepage of the Spring 2025 manifestation of Math 781.

The Gram-Schmidt Algorithm

We can calculate the projection of a vector v in the direction of v1 with the syntax (v1*v)/(v1*v1) * v1.

We can calculate the component of a vector v in the direction of v1 with the syntax (v1*v)/v1.norm().

The Gram-Schmidt algorithm is built into sage!

We can then use the Gram-Schmidt algorithm to calculate A=QR.