~ubuntu-branches/ubuntu/utopic/fftw3/utopic

« back to all changes in this revision

Viewing changes to doc/html/Real_002ddata-DFT-Array-Format.html

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-12-14 13:21:22 UTC
  • mfrom: (3.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20111214132122-l4avyl2kkr7vq5aj
Tags: 3.3-1ubuntu1
* Merge with Debian; remaining changes:
  - Revert the ARM workaround.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<html lang="en">
2
2
<head>
3
 
<title>Real-data DFT Array Format - FFTW 3.2.2</title>
 
3
<title>Real-data DFT Array Format - FFTW 3.3</title>
4
4
<meta http-equiv="Content-Type" content="text/html">
5
 
<meta name="description" content="FFTW 3.2.2">
 
5
<meta name="description" content="FFTW 3.3">
6
6
<meta name="generator" content="makeinfo 4.13">
7
7
<link title="Top" rel="start" href="index.html#Top">
8
8
<link rel="up" href="Basic-Interface.html#Basic-Interface" title="Basic Interface">
11
11
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
12
12
<!--
13
13
This manual is for FFTW
14
 
(version 3.2.2, 12 July 2009).
 
14
(version 3.3, 26 July 2011).
15
15
 
16
16
Copyright (C) 2003 Matteo Frigo.
17
17
 
57
57
 
58
58
<h4 class="subsection">4.3.4 Real-data DFT Array Format</h4>
59
59
 
60
 
<p><a name="index-r2c_002fc2r-multi_002ddimensional-array-format-190"></a>
 
60
<p><a name="index-r2c_002fc2r-multi_002ddimensional-array-format-199"></a>
61
61
The output of a DFT of real data (r2c) contains symmetries that, in
62
62
principle, make half of the outputs redundant (see <a href="What-FFTW-Really-Computes.html#What-FFTW-Really-Computes">What FFTW Really Computes</a>).  (Similarly for the input of an inverse c2r transform.)  In
63
63
practice, it is not possible to entirely realize these savings in an
78
78
any other dimension, but implementation turns out to be simpler if the
79
79
last, contiguous, dimension is used.)
80
80
 
81
 
   <p><a name="index-out_002dof_002dplace-191"></a>For an out-of-place transform, the real data is simply an array with
 
81
   <p><a name="index-out_002dof_002dplace-200"></a>For an out-of-place transform, the real data is simply an array with
82
82
physical dimensions 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> in row-major order.
83
83
 
84
 
   <p><a name="index-in_002dplace-192"></a><a name="index-padding-193"></a>For an in-place transform, some complications arise since the complex data
 
84
   <p><a name="index-in_002dplace-201"></a><a name="index-padding-202"></a>For an in-place transform, some complications arise since the complex data
85
85
is slightly larger than the real data.  In this case, the final
86
86
dimension of the real data must be <em>padded</em> with extra values to
87
87
accommodate the size of the complex data&mdash;two extra if the last