Hello everyone,
I have a question regarding the implemented Gram-Schmidt procedure. Using a 
matrix in the symbolic ring leads to the following error message:

m = matrix(SR, [[x,2*x],[x^2,1]])
m.gram_schmidt()

---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
<ipython-input-21-6b8bbf989823> in <module>()
      1 m = matrix(SR, [[x,Integer(2)*x],[x**Integer(2),Integer(1)]])
----> 2 m.gram_schmidt()

/home/michi/GitProjects/sage/local/lib/python3.7/site-packages/sage/matrix/matrix2.pyx
 in sage.matrix.matrix2.Matrix.gram_schmidt 
(build/cythonized/sage/matrix/matrix2.c:70206)()
   9871                 Q, R = self.transpose()._gram_schmidt_noscale()
   9872         else:
-> 9873             raise NotImplementedError("Gram-Schmidt orthogonalization 
not implemented for matrices over inexact rings, except for RDF and CDF")
   9874         return Q.transpose(), R.transpose()
   9875 

NotImplementedError: Gram-Schmidt orthogonalization not implemented for 
matrices over inexact rings, except for RDF and CDF


Why isn't it possible to compute an orthonormal basis from vectors with 
entries in the symbolic ring? I see no problem in that. What happens behind 
the scenes?

Thanks in advance and best wishes
Michael

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/0573e281-d1fb-4c52-8181-3b61de5a4561%40googlegroups.com.

Reply via email to