octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45423] symbolic package fails to construct ma


From: anonymous
Subject: [Octave-bug-tracker] [bug #45423] symbolic package fails to construct matrices
Date: Sun, 28 Jun 2015 11:27:29 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.0.1

Follow-up Comment #5, bug #45423 (project octave):

I believe the problem is related to how octave and sympy communicate.
According to sympy's documentation
http://docs.sympy.org/latest/tutorial/matrices.html, sympy will not recognize
octave's matrix notation. It requires rows to have their own brackets.

If this workaround is used from the very beginning it works just fine:

octave:2> syms a
octave:3> A = [[1, 2]; [a, 4]]
A = (sym 2×2 matrix)

  ⎡1  2⎤
  ⎢    ⎥
  ⎣a  4⎦



So for now, as long as matrices are typed in following sympy's notation right
from the start, it works.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45423>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]