Mercurial > hg > sv-dependency-builds
comparison src/fftw-3.3.3/doc/html/Advanced-Real_002ddata-DFTs.html @ 10:37bf6b4a2645
Add FFTW3
author | Chris Cannam |
---|---|
date | Wed, 20 Mar 2013 15:35:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
9:c0fb53affa76 | 10:37bf6b4a2645 |
---|---|
1 <html lang="en"> | |
2 <head> | |
3 <title>Advanced Real-data DFTs - FFTW 3.3.3</title> | |
4 <meta http-equiv="Content-Type" content="text/html"> | |
5 <meta name="description" content="FFTW 3.3.3"> | |
6 <meta name="generator" content="makeinfo 4.13"> | |
7 <link title="Top" rel="start" href="index.html#Top"> | |
8 <link rel="up" href="Advanced-Interface.html#Advanced-Interface" title="Advanced Interface"> | |
9 <link rel="prev" href="Advanced-Complex-DFTs.html#Advanced-Complex-DFTs" title="Advanced Complex DFTs"> | |
10 <link rel="next" href="Advanced-Real_002dto_002dreal-Transforms.html#Advanced-Real_002dto_002dreal-Transforms" title="Advanced Real-to-real Transforms"> | |
11 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> | |
12 <!-- | |
13 This manual is for FFTW | |
14 (version 3.3.3, 25 November 2012). | |
15 | |
16 Copyright (C) 2003 Matteo Frigo. | |
17 | |
18 Copyright (C) 2003 Massachusetts Institute of Technology. | |
19 | |
20 Permission is granted to make and distribute verbatim copies of | |
21 this manual provided the copyright notice and this permission | |
22 notice are preserved on all copies. | |
23 | |
24 Permission is granted to copy and distribute modified versions of | |
25 this manual under the conditions for verbatim copying, provided | |
26 that the entire resulting derived work is distributed under the | |
27 terms of a permission notice identical to this one. | |
28 | |
29 Permission is granted to copy and distribute translations of this | |
30 manual into another language, under the above conditions for | |
31 modified versions, except that this permission notice may be | |
32 stated in a translation approved by the Free Software Foundation. | |
33 --> | |
34 <meta http-equiv="Content-Style-Type" content="text/css"> | |
35 <style type="text/css"><!-- | |
36 pre.display { font-family:inherit } | |
37 pre.format { font-family:inherit } | |
38 pre.smalldisplay { font-family:inherit; font-size:smaller } | |
39 pre.smallformat { font-family:inherit; font-size:smaller } | |
40 pre.smallexample { font-size:smaller } | |
41 pre.smalllisp { font-size:smaller } | |
42 span.sc { font-variant:small-caps } | |
43 span.roman { font-family:serif; font-weight:normal; } | |
44 span.sansserif { font-family:sans-serif; font-weight:normal; } | |
45 --></style> | |
46 </head> | |
47 <body> | |
48 <div class="node"> | |
49 <a name="Advanced-Real-data-DFTs"></a> | |
50 <a name="Advanced-Real_002ddata-DFTs"></a> | |
51 <p> | |
52 Next: <a rel="next" accesskey="n" href="Advanced-Real_002dto_002dreal-Transforms.html#Advanced-Real_002dto_002dreal-Transforms">Advanced Real-to-real Transforms</a>, | |
53 Previous: <a rel="previous" accesskey="p" href="Advanced-Complex-DFTs.html#Advanced-Complex-DFTs">Advanced Complex DFTs</a>, | |
54 Up: <a rel="up" accesskey="u" href="Advanced-Interface.html#Advanced-Interface">Advanced Interface</a> | |
55 <hr> | |
56 </div> | |
57 | |
58 <h4 class="subsection">4.4.2 Advanced Real-data DFTs</h4> | |
59 | |
60 <pre class="example"> fftw_plan fftw_plan_many_dft_r2c(int rank, const int *n, int howmany, | |
61 double *in, const int *inembed, | |
62 int istride, int idist, | |
63 fftw_complex *out, const int *onembed, | |
64 int ostride, int odist, | |
65 unsigned flags); | |
66 fftw_plan fftw_plan_many_dft_c2r(int rank, const int *n, int howmany, | |
67 fftw_complex *in, const int *inembed, | |
68 int istride, int idist, | |
69 double *out, const int *onembed, | |
70 int ostride, int odist, | |
71 unsigned flags); | |
72 </pre> | |
73 <p><a name="index-fftw_005fplan_005fmany_005fdft_005fr2c-236"></a><a name="index-fftw_005fplan_005fmany_005fdft_005fc2r-237"></a> | |
74 Like <code>fftw_plan_many_dft</code>, these two functions add <code>howmany</code>, | |
75 <code>nembed</code>, <code>stride</code>, and <code>dist</code> parameters to the | |
76 <code>fftw_plan_dft_r2c</code> and <code>fftw_plan_dft_c2r</code> functions, but | |
77 otherwise behave the same as the basic interface. | |
78 | |
79 <p>The interpretation of <code>howmany</code>, <code>stride</code>, and <code>dist</code> are | |
80 the same as for <code>fftw_plan_many_dft</code>, above. Note that the | |
81 <code>stride</code> and <code>dist</code> for the real array are in units of | |
82 <code>double</code>, and for the complex array are in units of | |
83 <code>fftw_complex</code>. | |
84 | |
85 <p>If an <code>nembed</code> parameter is <code>NULL</code>, it is interpreted as what | |
86 it would be in the basic interface, as described in <a href="Real_002ddata-DFT-Array-Format.html#Real_002ddata-DFT-Array-Format">Real-data DFT Array Format</a>. That is, for the complex array the size is assumed to be | |
87 the same as <code>n</code>, but with the last dimension cut roughly in half. | |
88 For the real array, the size is assumed to be <code>n</code> if the transform | |
89 is out-of-place, or <code>n</code> with the last dimension “padded” if the | |
90 transform is in-place. | |
91 | |
92 <p>If an <code>nembed</code> parameter is non-<code>NULL</code>, it is interpreted as | |
93 the physical size of the corresponding array, in row-major order, just | |
94 as for <code>fftw_plan_many_dft</code>. In this case, each dimension of | |
95 <code>nembed</code> should be <code>>=</code> what it would be in the basic | |
96 interface (e.g. the halved or padded <code>n</code>). | |
97 | |
98 <p>Arrays <code>n</code>, <code>inembed</code>, and <code>onembed</code> are not used after | |
99 this function returns. You can safely free or reuse them. | |
100 | |
101 <!-- =========> --> | |
102 </body></html> | |
103 |