octave-maintainers
[Top][All Lists]
Advanced

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

Re: fftfilt patch


From: Rik
Subject: Re: fftfilt patch
Date: Fri, 05 Apr 2013 08:17:06 -0700

On 04/04/2013 01:24 PM, Jordi Gutiérrez Hermoso wrote:
> Killing this loop is really easy. The all() function already works
> columnwise:
>
>     xisreal = all (imag (x) == 0);
>     xisimag = all (real (x) == 0);
>
> I don't really understand the overall algorithm or why you need these
> two variables, but there you go.
Thanks.  I had seen that optimization too.  I'm going to look and see
whether we can't eliminate the code entirely for even better performance.

--Rik


reply via email to

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