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

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

[Octave-bug-tracker] [bug #61912] Slow performance of complex()


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #61912] Slow performance of complex()
Date: Mon, 24 Jan 2022 17:16:11 -0500 (EST)

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

I guess the difference is when val is already complex:



octave:1> val = 1+pi*i
val =  1.0000 + 3.1416i
octave:2> val*i
ans = -3.1416 + 1.0000i
octave:3> complex(val)
ans =  1.0000 + 3.1416i



Dmitri.
-- 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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