<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_bfft_8cpp">
<title>/Users/bernard/b20/bsoft/src/bfft.cpp File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/src/bfft.cpp</primary></indexterm>
<para>

<para>General FFT for n-dimensional data. </para>
 
</para>
<programlisting>#include &quot;rwimg.h&quot;
#include &quot;qsort_functions.h&quot;
#include &quot;options.h&quot;
#include &quot;timer.h&quot;
</programlisting><simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_bfft_8cpp_1acf9e00af6a13ca8eca3f7752d49515a8">img_fft_times</link> (int ndim, int minsize, int maxsize, int opt)</para>

<para>Tests the execution times for a series of image sizes. </para>
</listitem>
            <listitem><para>int <link linkend="_bfft_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627">main</link> (int argc, char **argv)</para>
</listitem>
        </itemizedlist>
</simplesect>
<simplesect>
    <title>Variables    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_bfft_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453">verbose</link></para>
</listitem>
            <listitem><para>const char * <link linkend="_bfft_8cpp_1a4de0ad4c7190962494815c0fa7f948df">use</link> []</para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>General FFT for n-dimensional data. </para>

<para><formalpara><title>Author: </title>

<para>Bernard Heymann </para>
</formalpara>
<formalpara><title>Date: </title>

<para>Created: 19980805 </para>

<para>Modified: 20190828 Implementing the FFTW library </para>
</formalpara>
</para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_bfft_8cpp_1acf9e00af6a13ca8eca3f7752d49515a8"/>    <section>
    <title>img_fft_times()</title>
<indexterm><primary>img_fft_times</primary><secondary>bfft.cpp</secondary></indexterm>
<indexterm><primary>bfft.cpp</primary><secondary>img_fft_times</secondary></indexterm>
<para><computeroutput>int img_fft_times (int ndim, int minsize, int maxsize, int opt)</computeroutput></para><para>

<para>Tests the execution times for a series of image sizes. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>ndim</entry>
                                <entry>
<para>number of dimensions (1,2,3). </para>
</entry>
                            </row>
                            <row>
                                <entry>minsize</entry>
                                <entry>
<para>minimum image size. </para>
</entry>
                            </row>
                            <row>
                                <entry>maxsize</entry>
                                <entry>
<para>maximum image size. </para>
</entry>
                            </row>
                            <row>
                                <entry>opt</entry>
                                <entry>
<para>optimization (with FFTW_MEASURE). </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int 0. <literallayout><computeroutput>FFTW library (www.fftw.org).
Blank complex floating point images are created and transformed.
Only the call to the complex FFT function is timed.
</computeroutput></literallayout> </para>
</formalpara>
</para>
<para>
Definition at line 289 of file bfft.cpp.</para>
    </section><anchor xml:id="_bfft_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627"/>    <section>
    <title>main()</title>
<indexterm><primary>main</primary><secondary>bfft.cpp</secondary></indexterm>
<indexterm><primary>bfft.cpp</primary><secondary>main</secondary></indexterm>
<para><computeroutput>int main (int argc, char ** argv)</computeroutput></para><para>
Definition at line 60 of file bfft.cpp.</para>
</section>
</section>
<section>
<title>Variable Documentation</title>
<anchor xml:id="_bfft_8cpp_1a4de0ad4c7190962494815c0fa7f948df"/>    <section>
    <title>use</title>
<indexterm><primary>use</primary><secondary>bfft.cpp</secondary></indexterm>
<indexterm><primary>bfft.cpp</primary><secondary>use</secondary></indexterm>
<para><computeroutput>const char* use[]</computeroutput></para><para>
Definition at line 22 of file bfft.cpp.</para>
    </section><anchor xml:id="_bfft_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453"/>    <section>
    <title>verbose</title>
<indexterm><primary>verbose</primary><secondary>bfft.cpp</secondary></indexterm>
<indexterm><primary>bfft.cpp</primary><secondary>verbose</secondary></indexterm>
<para><computeroutput>int verbose</computeroutput></para></section>
</section>
</section>
