Ask Your Question
0

Gram_schmidt

asked 2024-01-29 23:10:34 +0100

Hello .

Does the command (on a given matrix A ) : A.gram_schmidt() consider the matrix to have row or column vectors?

thank you !

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2024-01-29 23:28:25 +0100

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2024-01-29 23:10:34 +0100

Seen: 190 times

Last updated: Jan 29