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

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

[Octave-bug-tracker] [bug #58869] [octave forge] (symbolic) Failure in m


From: José Matos
Subject: [Octave-bug-tracker] [bug #58869] [octave forge] (symbolic) Failure in matrix division
Date: Sat, 31 Oct 2020 06:22:02 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0

Follow-up Comment #1, bug #58869 (project octave):

I was trying to look into this issue in order to fix octave-symbolic in Fedora
33 (that has sympy 1.6.2).

One option to solve this problem would be to rework the generated python code
so that instead of issuing

eye (2) / Matrix ([[1, 2], [3, 4]])

it would generate the following python code:

eye(2).multiply_elementwise(Matrix ([[1, 2], [3, 4]]).applyfunc(lambda x:
1/x))

This should work, no?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58869>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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