Ask Your Question

Revision history [back]

Rows. This information is provided in the documentation:

sage: A = identity_matrix(QQ, 2) sage:
sage: A.gram_schmidt?

prints a long help message, starting with

Performs Gram-Schmidt orthogonalization on the rows of the matrix, returning a new matrix and a matrix accomplishing the transformation.


  • "self" - a matrix whose rows are to be orthogonalized.

See also the entry in the reference manual.