view libcruft/fftpack/zfftf.f @ 14688:42edbe6f6a8d stable

Fix bad two-arg call of randperm (bug #36535) * rand.cc (Frandperm): Rewrite algorithm for short_shuffle. Add another test.
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Fri, 25 May 2012 11:24:02 -0400
parents 82be108cc558
children
line wrap: on
line source

      subroutine zfftf (n,c,wsave)
      implicit double precision (a-h,o-z)
      dimension       c(*)       ,wsave(*)
      if (n .eq. 1) return
      iw1 = n+n+1
      iw2 = iw1+n+n
      call zfftf1 (n,c,wsave,wsave(iw1),wsave(iw2))
      return
      end