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

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

[Octave-bug-tracker] [bug #43673] fft() gives incorrect result for 3-dim


From: count
Subject: [Octave-bug-tracker] [bug #43673] fft() gives incorrect result for 3-dim array with singleton 3rd dimension
Date: Tue, 29 Nov 2016 21:45:59 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #15, bug #43673 (project octave):

Here is a complete patch that also fix fourier forward and inverse transforms
in *NDArray.cc.

This patch could be divided into three parts:

(1) The first part is the same as file #39079, see previous comment.

(2) The second part is the fix to *NDArray.cc. Which also deal with the "DIM >
ndims (X)" problem.

(3) The third part is the removal of `if (n_points == 1)` in fft.cc. Because
with (1)(2), special treatment of `n_points == 1` is not necessary.

(file #39105)
    _______________________________________________________

Additional Item Attachment:

File name: bug_43673_v3.patch             Size:14 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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