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

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

[Octave-bug-tracker] [bug #57909] incorrect result for sparse matrix exp


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #57909] incorrect result for sparse matrix exponentiation
Date: Thu, 27 Feb 2020 14:26:28 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #2, bug #57909 (project octave):

I think the attached function does the right indexing when there is no need to
convert to complex.  A proper replacement for the elem_xpow function in
sparse-xpow.cc also needs to handle the complex case.  And since the indexing
should be the same for the real and complex cases, maybe it should be done
with a template rather than duplicating the code.


(file #48511)
    _______________________________________________________

Additional Item Attachment:

File name: sparsexpow.cc                  Size:3 KB
    <https://savannah.gnu.org/file/sparsexpow.cc?file_id=48511>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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