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

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

[Octave-bug-tracker] [bug #43742] ifft, ifft2, ifftn should accept 'nons


From: Hg200
Subject: [Octave-bug-tracker] [bug #43742] ifft, ifft2, ifftn should accept 'nonsymmetric' and 'symmetric' options
Date: Fri, 31 Dec 2021 15:16:15 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0

Follow-up Comment #10, bug #43742 (project octave):

I have tested fix 1.) for a few days now. There are two issues I would like to
update: First, Matlab gives an error when the "symflag" is put into the
"fft()" instead into the "ifft()" function. In this case, the Octave patch
does not give an error message. Second, there is a "corner case" when a
one-point ifft() is calculated:

 
ifft(1+1i,'symmetric')


In fft.cc this is handled separately, without calling FFTW. In this case,
however, the real part must also be returned. It's probably also a good idea
to add some BISTS to check the input validation.

I will do some further testing and will update the patch.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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