~ubuntu-branches/ubuntu/trusty/fftw3/trusty-proposed

« back to all changes in this revision

Viewing changes to doc/html/Fortran_002dinterface-routines.html

  • Committer: Bazaar Package Importer
  • Author(s): Paul Brossier
  • Date: 2009-10-30 15:58:13 UTC
  • mfrom: (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20091030155813-sm22akeielmo6sbo
Tags: 3.2.2-1
* New upstream release
* Acknowledge non-maintainer upload (closes: #532340, #532301),
  thanks to Cyril Brulebois
* debian/control
  - add ${misc:Depends}
  - bump Standards-Version to 3.8.3, debhelper to >= 7.0.0
  - span build-depends on multiple lines
  - added Vcs-Bzr and Vcs-Browser fields
* debian/rules
  - fix bashisms (closes: #535378)
  - only install long double where needed (closes: #540408)
  - use dh_prep
* debian/compat: bump to 7
* debian/README.source: add reference to quilt documentation

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<html lang="en">
2
2
<head>
3
 
<title>Fortran-interface routines - FFTW 3.2.1</title>
 
3
<title>Fortran-interface routines - FFTW 3.2.2</title>
4
4
<meta http-equiv="Content-Type" content="text/html">
5
 
<meta name="description" content="FFTW 3.2.1">
6
 
<meta name="generator" content="makeinfo 4.8">
 
5
<meta name="description" content="FFTW 3.2.2">
 
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="Calling-FFTW-from-Fortran.html#Calling-FFTW-from-Fortran" title="Calling FFTW from Fortran">
9
9
<link rel="prev" href="Calling-FFTW-from-Fortran.html#Calling-FFTW-from-Fortran" title="Calling FFTW from Fortran">
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.1, 5 February 2009).
 
14
(version 3.2.2, 12 July 2009).
15
15
 
16
16
Copyright (C) 2003 Matteo Frigo.
17
17
 
46
46
</head>
47
47
<body>
48
48
<div class="node">
49
 
<p>
50
49
<a name="Fortran-interface-routines"></a>
51
50
<a name="Fortran_002dinterface-routines"></a>
 
51
<p>
52
52
Next:&nbsp;<a rel="next" accesskey="n" href="FFTW-Constants-in-Fortran.html#FFTW-Constants-in-Fortran">FFTW Constants in Fortran</a>,
53
53
Previous:&nbsp;<a rel="previous" accesskey="p" href="Calling-FFTW-from-Fortran.html#Calling-FFTW-from-Fortran">Calling FFTW from Fortran</a>,
54
54
Up:&nbsp;<a rel="up" accesskey="u" href="Calling-FFTW-from-Fortran.html#Calling-FFTW-from-Fortran">Calling FFTW from Fortran</a>
59
59
 
60
60
<p>Nearly all of the FFTW functions have Fortran-callable equivalents.  The
61
61
name of the Fortran routine is the same as that of the corresponding C
62
 
routine, but with the `<samp><span class="samp">fftw_</span></samp>' prefix replaced by `<samp><span class="samp">dfftw_</span></samp>'. 
63
 
(The single and long-double precision versions use `<samp><span class="samp">sfftw_</span></samp>' and
64
 
`<samp><span class="samp">lfftw_</span></samp>', respectively, instead of `<samp><span class="samp">fftwf_</span></samp>' and
65
 
`<samp><span class="samp">fftwl_</span></samp>'.)<a rel="footnote" href="#fn-1" name="fnd-1"><sup>1</sup></a>
 
62
routine, but with the &lsquo;<samp><span class="samp">fftw_</span></samp>&rsquo; prefix replaced by &lsquo;<samp><span class="samp">dfftw_</span></samp>&rsquo;. 
 
63
(The single and long-double precision versions use &lsquo;<samp><span class="samp">sfftw_</span></samp>&rsquo; and
 
64
&lsquo;<samp><span class="samp">lfftw_</span></samp>&rsquo;, respectively, instead of &lsquo;<samp><span class="samp">fftwf_</span></samp>&rsquo; and
 
65
&lsquo;<samp><span class="samp">fftwl_</span></samp>&rsquo;.)<a rel="footnote" href="#fn-1" name="fnd-1"><sup>1</sup></a>
66
66
 
67
67
   <p>For the most part, all of the arguments to the functions are the same,
68
68
with the following exceptions:
102
102
translation between column-major and row-major; you are responsible
103
103
for setting the strides etcetera to correspond to your Fortran arrays. 
104
104
However, as a slight bug that we are preserving for backwards
105
 
compatibility, the `<samp><span class="samp">plan_guru_r2r</span></samp>' in Fortran <em>does</em> reverse the
 
105
compatibility, the &lsquo;<samp><span class="samp">plan_guru_r2r</span></samp>&rsquo; in Fortran <em>does</em> reverse the
106
106
order of its <code>kind</code> array parameter, so the <code>kind</code> array
107
107
of that routine should be in the reverse of the order of the iodim
108
108
arrays (see above).
131
131
reason for this is that some Fortran implementations seem to have
132
132
trouble with C function return values, and vice versa.</p>
133
133
 
134
 
   <p><hr></div>
 
134
   <hr></div>
135
135
 
136
136
   </body></html>
137
137