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

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

[Octave-bug-tracker] [bug #60786] mpower: negative scalar to power of ma


From: Rik
Subject: [Octave-bug-tracker] [bug #60786] mpower: negative scalar to power of matrix containing non-integers returns nan
Date: Wed, 23 Jun 2021 12:45:47 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36

Follow-up Comment #9, bug #60786 (project octave):

@jwe, @arb: My plan right now is to proceed in a series of small
steps/changesets.  The idea being that any one change can be quickly reversed
by backing out the appropriate changeset if it is somehow problematic.

Steps

1. Fix output of NaN for mixed scalar/complex matrix combinations
2. Use common try/catch block with eig calculation outside block
3. Eliminate test for complex value with imag=0.0 and rely on C++ library
templates to correctly process this case.

4. Templating.  This would be the final changeset, but I have other coding
projects that are higher priority for me.  If someone else is interested in
tackling this that would be great.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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