Gram_schmidt
Hello .
Does the command (on a given matrix A ) : A.gram_schmidt() consider the matrix to have row or column vectors?
thank you !
add a comment
Hello .
Does the command (on a given matrix A ) : A.gram_schmidt() consider the matrix to have row or column vectors?
thank you !
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.
INPUT:
- "self" - a matrix whose rows are to be orthogonalized.
See also the entry in the reference manual.
Asked: 1 year ago
Seen: 295 times
Last updated: Jan 29 '24