annotate fft/fftw/fftw-3.3.4/doc/fftw3.texi @ 40:223f770b5341 kissfft-double tip

Try a double-precision kissfft
author Chris Cannam
date Wed, 07 Sep 2016 10:40:32 +0100
parents 26056e866c29
children
rev   line source
Chris@19 1 \input texinfo @c -*-texinfo-*-
Chris@19 2 @c Update by C-x C-e on: (texinfo-multiple-files-update "fftw3.texi" nil t)
Chris@19 3 @setfilename fftw3.info
Chris@19 4 @include version.texi
Chris@19 5 @settitle FFTW @value{VERSION}
Chris@19 6 @setchapternewpage odd
Chris@19 7 @c define constant index (ct)
Chris@19 8 @defcodeindex ct
Chris@19 9 @syncodeindex ct fn
Chris@19 10 @syncodeindex vr fn
Chris@19 11 @syncodeindex pg fn
Chris@19 12 @syncodeindex tp fn
Chris@19 13 @c define foreign function index (ff)
Chris@19 14 @defcodeindex ff
Chris@19 15 @syncodeindex ff cp
Chris@19 16 @c define foreign constant index (fc)
Chris@19 17 @defcodeindex fc
Chris@19 18 @syncodeindex fc cp
Chris@19 19 @c define foreign program index (fp)
Chris@19 20 @defcodeindex fp
Chris@19 21 @syncodeindex fp cp
Chris@19 22 @comment %**end of header
Chris@19 23
Chris@19 24 @iftex
Chris@19 25 @paragraphindent 0
Chris@19 26 @parskip=@medskipamount
Chris@19 27 @end iftex
Chris@19 28
Chris@19 29 @c
Chris@19 30 @c The following macros are coded in a weird way:
Chris@19 31
Chris@19 32 @c @macro FOO
Chris@19 33 @c @noindent
Chris@19 34 @c <STUFF>
Chris@19 35 @c @refill
Chris@19 36 @c @end macro
Chris@19 37
Chris@19 38 @c The @noindent/@refill stuff is not necessary in texinfo up to version
Chris@19 39 @c 4, but it is a hack necessary to make texinfo-5 work.
Chris@19 40
Chris@19 41 @c Texinfo has been stable for the first 15 years of FFTW's history.
Chris@19 42 @c Then some genius, with too much time in his hands and on a mission to
Chris@19 43 @c deliver the world from the evil of the C language, decided to rewrite
Chris@19 44 @c makeinfo in Perl, the old C version of makeinfo being, as I said,
Chris@19 45 @c evil. The official excuse for the rewrite was that now I can have my
Chris@19 46 @c manual in XML format, as if XML were a feature.
Chris@19 47
Chris@19 48 @c The result of this stroke of genius is that texinfo-5 has different
Chris@19 49 @c rules for macro expansion than texinfo-4 does, specifically regarding
Chris@19 50 @c whether or not spaces after a macro are ignored. Texinfo-4 had weird
Chris@19 51 @c rules, but at least they were constant and internally more or less
Chris@19 52 @c consistent. Texinfo-5 has different rules, and even worse the rules
Chris@19 53 @c in texinfo-5 are inconsistent between the TeX and HTML output
Chris@19 54 @c processors. This situation makes it almost impossible for us to
Chris@19 55 @c produce a manual that works with both texinfo 4 and 5 in all modes
Chris@19 56 @c (TeX, info, and html). The @noindent/@refill hack is my best shot at
Chris@19 57 @c patching this situation.
Chris@19 58
Chris@19 59 @c "@noindent" has two effects: First, it makes texinfo-5 believe that
Chris@19 60 @c the next "@ifinfo" is on a new line, otherwise texinfo-5 complains
Chris@19 61 @c that it is not (even though it obviously is). Second, "@noindent" is
Chris@19 62 @c a macro that eats extra space, and we want this effect because somehow
Chris@19 63 @c macro expansion in texinfo-5 inserts extra spaces that were not there
Chris@19 64 @c in texinfo-4.
Chris@19 65
Chris@19 66 @c "@refill" stops texinfo-5 from interpreting the rest of the line after
Chris@19 67 @c a macro invocation as an argument to "@end tex". For example, in
Chris@19 68 @c "FFTW uses @Onlogn algorithms", somehow texinfo-5 thinks that
Chris@19 69 @c "algorithms" is an argument to "@end tex". "@noindent" would have the
Chris@19 70 @c same effect (as would any other macro invocation, I think), but,
Chris@19 71 @c unlike "@noindent", "@refill" does not eat spaces and does not scan
Chris@19 72 @c the rest of the input file for macro arguments. However, "@refill" is
Chris@19 73 @c deemed "obsolete" in the texinfo-5 source code, so expect this to
Chris@19 74 @c break at some point.
Chris@19 75
Chris@19 76 @c This situation is wholly unsatisfactory, and the GNU project is
Chris@19 77 @c obviously out of control. If this nonsense persists, we will abandon
Chris@19 78 @c texinfo and produce a latex-only version of the manual.
Chris@19 79
Chris@19 80
Chris@19 81 @macro Onlogn
Chris@19 82 @noindent
Chris@19 83 @ifinfo
Chris@19 84 O(n log n)
Chris@19 85 @end ifinfo
Chris@19 86 @html
Chris@19 87 <i>O</i>(<i>n</i>&nbsp;log&nbsp;<i>n</i>)
Chris@19 88 @end html
Chris@19 89 @tex
Chris@19 90 $O(n \\log n)$
Chris@19 91 @end tex
Chris@19 92 @refill
Chris@19 93 @end macro
Chris@19 94
Chris@19 95 @macro ndims
Chris@19 96 @noindent
Chris@19 97 @ifinfo
Chris@19 98 n[0] x n[1] x n[2] x ... x n[d-1]
Chris@19 99 @end ifinfo
Chris@19 100 @html
Chris@19 101 n<sub>0</sub>&nbsp;&times;&nbsp;n<sub>1</sub>&nbsp;&times;&nbsp;n<sub>2</sub>&nbsp;&times;&nbsp;&hellip;&nbsp;&times;&nbsp;n<sub>d-1</sub>
Chris@19 102 @end html
Chris@19 103 @tex
Chris@19 104 $n_0 \\times n_1 \\times n_2 \\times \\cdots \\times n_{d-1}$
Chris@19 105 @end tex
Chris@19 106 @refill
Chris@19 107 @end macro
Chris@19 108
Chris@19 109 @macro ndimshalf
Chris@19 110 @noindent
Chris@19 111 @ifinfo
Chris@19 112 n[0] x n[1] x n[2] x ... x (n[d-1]/2 + 1)
Chris@19 113 @end ifinfo
Chris@19 114 @html
Chris@19 115 n<sub>0</sub>&nbsp;&times;&nbsp;n<sub>1</sub>&nbsp;&times;&nbsp;n<sub>2</sub>&nbsp;&times;&nbsp;&hellip;&nbsp;&times;&nbsp;(n<sub>d-1</sub>/2 + 1)
Chris@19 116 @end html
Chris@19 117 @tex
Chris@19 118 $n_0 \\times n_1 \\times n_2 \\times \\cdots \\times (n_{d-1}/2 + 1)$
Chris@19 119 @end tex
Chris@19 120 @refill
Chris@19 121 @end macro
Chris@19 122
Chris@19 123 @macro ndimspad
Chris@19 124 @noindent
Chris@19 125 @ifinfo
Chris@19 126 n[0] x n[1] x n[2] x ... x [2 (n[d-1]/2 + 1)]
Chris@19 127 @end ifinfo
Chris@19 128 @html
Chris@19 129 n<sub>0</sub>&nbsp;&times;&nbsp;n<sub>1</sub>&nbsp;&times;&nbsp;n<sub>2</sub>&nbsp;&times;&nbsp;&hellip;&nbsp;&times;&nbsp;[2&nbsp;(n<sub>d-1</sub>/2 + 1)]
Chris@19 130 @end html
Chris@19 131 @tex
Chris@19 132 $n_0 \\times n_1 \\times n_2 \\times \\cdots \\times [2(n_{d-1}/2 + 1)]$
Chris@19 133 @end tex
Chris@19 134 @refill
Chris@19 135 @end macro
Chris@19 136
Chris@19 137 @macro twodims{d1, d2}
Chris@19 138 @noindent
Chris@19 139 @ifinfo
Chris@19 140 \d1\ x \d2\
Chris@19 141 @end ifinfo
Chris@19 142 @html
Chris@19 143 \d1\&nbsp;&times;&nbsp;\d2\
Chris@19 144 @end html
Chris@19 145 @tex
Chris@19 146 $\d1\ \\times \d2\$
Chris@19 147 @end tex
Chris@19 148 @refill
Chris@19 149 @end macro
Chris@19 150
Chris@19 151 @macro threedims{d1, d2, d3}
Chris@19 152 @noindent
Chris@19 153 @ifinfo
Chris@19 154 \d1\ x \d2\ x \d3\
Chris@19 155 @end ifinfo
Chris@19 156 @html
Chris@19 157 \d1\&nbsp;&times;&nbsp;\d2\&nbsp;&times;&nbsp;\d3\
Chris@19 158 @end html
Chris@19 159 @tex
Chris@19 160 $\d1\ \\times \d2\ \\times \d3\$
Chris@19 161 @end tex
Chris@19 162 @refill
Chris@19 163 @end macro
Chris@19 164
Chris@19 165 @macro dimk{k}
Chris@19 166 @noindent
Chris@19 167 @ifinfo
Chris@19 168 n[\k\]
Chris@19 169 @end ifinfo
Chris@19 170 @html
Chris@19 171 n<sub>\k\</sub>
Chris@19 172 @end html
Chris@19 173 @tex
Chris@19 174 $n_\k\$
Chris@19 175 @end tex
Chris@19 176 @refill
Chris@19 177 @end macro
Chris@19 178
Chris@19 179
Chris@19 180 @macro ndimstrans
Chris@19 181 @noindent
Chris@19 182 @ifinfo
Chris@19 183 n[1] x n[0] x n[2] x ... x n[d-1]
Chris@19 184 @end ifinfo
Chris@19 185 @html
Chris@19 186 n<sub>1</sub>&nbsp;&times;&nbsp;n<sub>0</sub>&nbsp;&times;&nbsp;n<sub>2</sub>&nbsp;&times;&hellip;&times;&nbsp;n<sub>d-1</sub>
Chris@19 187 @end html
Chris@19 188 @tex
Chris@19 189 $n_1 \\times n_0 \\times n_2 \\times \\cdots \\times n_{d-1}$
Chris@19 190 @end tex
Chris@19 191 @refill
Chris@19 192 @end macro
Chris@19 193
Chris@19 194 @copying
Chris@19 195 This manual is for FFTW
Chris@19 196 (version @value{VERSION}, @value{UPDATED}).
Chris@19 197
Chris@19 198 Copyright @copyright{} 2003 Matteo Frigo.
Chris@19 199
Chris@19 200 Copyright @copyright{} 2003 Massachusetts Institute of Technology.
Chris@19 201
Chris@19 202 @quotation
Chris@19 203 Permission is granted to make and distribute verbatim copies of this
Chris@19 204 manual provided the copyright notice and this permission notice are
Chris@19 205 preserved on all copies.
Chris@19 206
Chris@19 207 Permission is granted to copy and distribute modified versions of this
Chris@19 208 manual under the conditions for verbatim copying, provided that the
Chris@19 209 entire resulting derived work is distributed under the terms of a
Chris@19 210 permission notice identical to this one.
Chris@19 211
Chris@19 212 Permission is granted to copy and distribute translations of this manual
Chris@19 213 into another language, under the above conditions for modified versions,
Chris@19 214 except that this permission notice may be stated in a translation
Chris@19 215 approved by the Free Software Foundation.
Chris@19 216 @end quotation
Chris@19 217 @end copying
Chris@19 218
Chris@19 219 @dircategory Development
Chris@19 220 @direntry
Chris@19 221 * fftw3: (fftw3). FFTW User's Manual.
Chris@19 222 @end direntry
Chris@19 223
Chris@19 224 @titlepage
Chris@19 225 @title FFTW
Chris@19 226 @subtitle for version @value{VERSION}, @value{UPDATED}
Chris@19 227 @author Matteo Frigo
Chris@19 228 @author Steven G. Johnson
Chris@19 229 @page
Chris@19 230 @vskip 0pt plus 1filll
Chris@19 231 @insertcopying
Chris@19 232 @end titlepage
Chris@19 233
Chris@19 234 @contents
Chris@19 235
Chris@19 236 @ifnottex
Chris@19 237 @node Top, Introduction, (dir), (dir)
Chris@19 238 @top FFTW User Manual
Chris@19 239 Welcome to FFTW, the Fastest Fourier Transform in the West. FFTW is a
Chris@19 240 collection of fast C routines to compute the discrete Fourier transform.
Chris@19 241 This manual documents FFTW version @value{VERSION}.
Chris@19 242 @end ifnottex
Chris@19 243
Chris@19 244 @menu
Chris@19 245 * Introduction::
Chris@19 246 * Tutorial::
Chris@19 247 * Other Important Topics::
Chris@19 248 * FFTW Reference::
Chris@19 249 * Multi-threaded FFTW::
Chris@19 250 * Distributed-memory FFTW with MPI::
Chris@19 251 * Calling FFTW from Modern Fortran::
Chris@19 252 * Calling FFTW from Legacy Fortran::
Chris@19 253 * Upgrading from FFTW version 2::
Chris@19 254 * Installation and Customization::
Chris@19 255 * Acknowledgments::
Chris@19 256 * License and Copyright::
Chris@19 257 * Concept Index::
Chris@19 258 * Library Index::
Chris@19 259 @end menu
Chris@19 260
Chris@19 261 @c ************************************************************
Chris@19 262 @include intro.texi
Chris@19 263 @include tutorial.texi
Chris@19 264 @include other.texi
Chris@19 265 @include reference.texi
Chris@19 266 @include threads.texi
Chris@19 267 @include mpi.texi
Chris@19 268 @include modern-fortran.texi
Chris@19 269 @include legacy-fortran.texi
Chris@19 270 @include upgrading.texi
Chris@19 271 @include install.texi
Chris@19 272 @include acknowledgements.texi
Chris@19 273 @include license.texi
Chris@19 274 @include cindex.texi
Chris@19 275 @include findex.texi
Chris@19 276 @c ************************************************************
Chris@19 277
Chris@19 278 @bye