Ask Your Question
0

Gram_schmidt

asked 1 year ago

Hello .

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

thank you !

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 1 year ago

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.

Preview: (hide)
link

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: 1 year ago

Seen: 295 times

Last updated: Jan 29 '24