#5612: example of solving a system of linear equations symbolically using 
symbolic
matrices
----------------------------------+-----------------------------------------
       Reporter:  jason           |         Owner:  was          
           Type:  enhancement     |        Status:  new          
       Priority:  minor           |     Milestone:  sage-wishlist
      Component:  linear algebra  |    Resolution:               
       Keywords:  beginner        |   Work issues:               
Report Upstream:  N/A             |     Reviewers:               
        Authors:                  |     Merged in:               
   Dependencies:                  |      Stopgaps:               
----------------------------------+-----------------------------------------

Comment (by JoalHeagney):

 Guys, when I try this out, I get to the following line and get the
 following error (both ways):


 {{{
 soln=A.solve_right(result) # you could also do soln=A\result
 }}}

 {{{
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "_sage_input_15.py", line 10, in <module>
     exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8
 -*-\\n" +
 
_support_.preparse_worksheet_cell(base64.b64decode("c29sbj1BLnNvbHZlX3JpZ2h0KHJlc3VsdCkgIyB5b3UgY291bGQgYWxzbyBkbyBzb2xuPUFccmVzdWx0"),globals())+"\\n");
 execfile(os.path.abspath("___code___.py"))
   File "", line 1, in <module>

   File "/tmp/tmpJ1xbYN/___code___.py", line 2, in <module>
     exec compile(u'soln=A.solve_right(result) # you could also do
 soln=A\\result
   File "", line 1, in <module>

   File "matrix2.pyx", line 281, in sage.matrix.matrix2.Matrix.solve_right
 (sage/matrix/matrix2.c:3796)
   File "ring.pyx", line 835, in sage.rings.ring.Ring.is_integral_domain
 (sage/rings/ring.c:6410)
 NotImplementedError
 }}}

 This is in 4.8.

 Joal Heagney

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5612#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to