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

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

[Octave-bug-tracker] [bug #38628] bsxfun slow for complex


From: Rik
Subject: [Octave-bug-tracker] [bug #38628] bsxfun slow for complex
Date: Thu, 04 Apr 2013 02:38:11 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0

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

Exceedingly strange.  This is, perhaps, a clue.  If dx is promoted to a
complex matrix (with 0 for the imaginary part) then the bsxfun call goes back
to being extremely fast.


dxc = complex (dx);
tic; r = bsxfun (@times, dxc, ym); toc
Elapsed time is 0.005 seconds.



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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