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.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2024-01-29 23:10:34 +0100
Seen: 201 times
Last updated: Jan 29