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

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

[Octave-bug-tracker] [bug #33135] nthroot failure for complex inputs


From: Pascal Dupuis
Subject: [Octave-bug-tracker] [bug #33135] nthroot failure for complex inputs
Date: Fri, 22 Apr 2011 15:50:05 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.16) Gecko/20110323 Ubuntu/10.04 (lucid) Firefox/3.6.16

Follow-up Comment #3, bug #33135 (project octave):

Under Matlab R2010A:

nthroot(1+j, 5)

??? Error using ==> nthroot at 17
Both X and N must be real.

Same behaviour.

iscomplex() can be emulated by
if any(abs(imag(x)) > eps)

Regards

Pascal

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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