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

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

[Octave-bug-tracker] [bug #60878] [octave forge] (symbolic) adjoint func


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #60878] [octave forge] (symbolic) adjoint function for numerical input
Date: Sun, 4 Jul 2021 22:57:49 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36

Update of bug #60878 (project octave):

                Category:         Octave Function => Octave Forge Package   
                  Status:                    None => Works For Me           
                 Summary: implement adjoint function => [octave forge]
(symbolic) adjoint function for numerical input

    _______________________________________________________

Follow-up Comment #1:

Thank you for your report.  The `adjoint`-function belongs to the Matlab
symbolic toolbox https://www.mathworks.com/help/symbolic/adjoint.html Thus I
suggest to leave the implementation of that function with the Octave symbolic
package.

The function `@sym/adjoint` of the symbolic package (v2.9.0) with SymPy
(v1.5.1) does not work as transparent as in Matlab for numerical arrays. 
However, with explicit type casting you can achieve the same result as the
Matlab example:


>> A = magic(3);
>> X = double (adjoint (sym (A)))
X =

  -53   52  -23
   22   -8  -38
    7  -68   37


If you want to file a bug report about the missing numerical matrix input
support as in Matlab, please open a new issue at the maintainers upstream
repository (https://github.com/cbm755/octsympy/issues) and please give a
reference to this item.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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