| 1 | initial version |
Here is a partial answer : instead of putting your basis" in a list, you should put it in a matrix, so that you could benefit from the methods available there.
sage: M = matrix(basis)
sage: M
[1 2 3]
[1 5 6]
sage: M.parent()
Full MatrixSpace of 2 by 3 dense matrices over Finite Field of size 29
sage: M.gram_schmidt()
AttributeError: 'sage.rings.finite_rings.integer_mod.IntegerMod_int' object has no attribute 'conjugate'
Unfortunately, to compute the Gram-Schmidt orthogonalization of M, Sage needs to find the conjugate of elements GF(29), which seems not defined.
| 2 | No.2 Revision |
Here is a partial answer : instead of putting your basis" in a list, you should put it in a matrix, so that you could benefit from the methods available there.
sage: M = matrix(basis)
sage: M
[1 2 3]
[1 5 6]
sage: M.parent()
Full MatrixSpace of 2 by 3 dense matrices over Finite Field of size 29
sage: M.gram_schmidt()
AttributeError: 'sage.rings.finite_rings.integer_mod.IntegerMod_int' object has no attribute 'conjugate'
Unfortunately, to compute the Gram-Schmidt orthogonalization of M, Sage needs to find the conjugate of elements GF(29), which seems not defined.defined (if you replace GF(29) with ZZ, everythin seems fine).
| 3 | No.3 Revision |
Here is a partial answer : instead of putting your basis" "basis" in a list, you should put it in a matrix, so that you could benefit from the methods available there.
sage: M = matrix(basis)
sage: M
[1 2 3]
[1 5 6]
sage: M.parent()
Full MatrixSpace of 2 by 3 dense matrices over Finite Field of size 29
sage: M.gram_schmidt()
AttributeError: 'sage.rings.finite_rings.integer_mod.IntegerMod_int' object has no attribute 'conjugate'
Unfortunately, to compute the Gram-Schmidt orthogonalization of M, Sage needs to find the conjugate of elements GF(29), which seems not defined (if you replace GF(29) with ZZ, everythin seems fine).
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.