@@ -103,7 +103,7 @@ Include the @emph{same} @code{<fftw3.h>} header file.
103103Replace all lowercase instances of @samp {fftw_ } with @samp {fftwf_ } or
104104@samp {fftwl_ } for single or long-double precision, respectively.
105105(@code {fftw_complex } becomes @code {fftwf_complex }, @code {fftw_execute }
106- becomes @code {fftwf_execute }, etcetera .)
106+ becomes @code {fftwf_execute }, etc .)
107107
108108@item
109109Uppercase names, i.e. names beginning with @samp {FFTW_ }, remain the
@@ -176,7 +176,7 @@ fftw_complex *fftw_alloc_complex(size_t n);
176176@findex fftw_alloc_complex
177177
178178The equivalent functions in other precisions allocate arrays of @code {n }
179- elements in that precision. e.g. @code {fftwf_alloc_real(n) } is
179+ elements in that precision, e.g. @code {fftwf_alloc_real(n) } is
180180equivalent to @code {(float *) fftwf_malloc(sizeof(float) * n) }.
181181@cindex precision
182182
@@ -234,7 +234,7 @@ accumulating wisdom information again.
234234memory leaks, you must still call @code {fftw_destroy_plan } before
235235executing @code {fftw_cleanup }.
236236
237- Occasionally, it may useful to know FFTW's internal ``cost'' metric
237+ Occasionally, it may be useful to know FFTW's internal ``cost'' metric
238238that it uses to compare plans to one another; this cost is
239239proportional to an execution time of the plan, in undocumented units,
240240if the plan was created with the @code {FFTW_MEASURE } or other
@@ -283,7 +283,7 @@ char *fftw_sprint_plan(const fftw_plan plan);
283283@findex fftw_print_plan
284284
285285This outputs a ``nerd-readable'' representation of the @code {plan } to
286- the given file, to @code {stdout }, or two a newly allocated
286+ the given file, to @code {stdout }, or to a newly allocated
287287NUL-terminated string (which the caller is responsible for deallocating
288288with @code {free }), respectively.
289289
@@ -890,7 +890,7 @@ introduction to these transform kinds, see @ref{More DFTs of Real Data}.
890890For dimension of size @code {n }, there is a corresponding ``logical''
891891dimension @code {N } that determines the normalization (and the optimal
892892factorization); the formula for @code {N } is given for each kind below.
893- Also, with each transform kind is listed its corrsponding inverse
893+ Also, with each transform kind is listed its corresponding inverse
894894transform. FFTW computes unnormalized transforms: a transform followed
895895by its inverse will result in the original data multiplied by @code {N }
896896(or the product of the @code {N }'s for each dimension, in
@@ -1044,7 +1044,7 @@ row-major subarrays of larger rank-@code{rank} arrays, described by
10441044and @code {n } should be elementwise less than or equal to
10451045@{ @code {i },@code {o }@} @code {nembed }. Passing @code {NULL } for an
10461046@code {nembed } parameter is equivalent to passing @code {n } (i.e. same
1047- physical and logical dimensions, as in the basic interface.)
1047+ physical and logical dimensions, as in the basic interface).
10481048
10491049The @code {stride } parameters indicate that the @code {j }-th element of
10501050the input or output arrays is located at @code {j*istride } or
@@ -1125,7 +1125,7 @@ Like @code{fftw_plan_many_dft}, these two functions add @code{howmany},
11251125@code {fftw_plan_dft_r2c } and @code {fftw_plan_dft_c2r } functions, but
11261126otherwise behave the same as the basic interface.
11271127
1128- The interpretation of @code {howmany }, @code {stride }, and @code {dist } are
1128+ The interpretation of @code {howmany }, @code {stride }, and @code {dist } is
11291129the same as for @code {fftw_plan_many_dft }, above. Note that the
11301130@code {stride } and @code {dist } for the real array are in units of
11311131@code {double }, and for the complex array are in units of
@@ -1162,10 +1162,10 @@ fftw_plan fftw_plan_many_r2r(int rank, const int *n, int howmany,
11621162@end example
11631163@findex fftw_plan_many_r2r
11641164
1165- Like @code {fftw_plan_many_dft }, this functions adds @code {howmany },
1165+ Like @code {fftw_plan_many_dft }, this function adds @code {howmany },
11661166@code {nembed }, @code {stride }, and @code {dist } parameters to the
1167- @code {fftw_plan_r2r } function, but otherwise behave the same as the
1168- basic interface. The interpretation of those additional parameters are
1167+ @code {fftw_plan_r2r } function, but otherwise behaves the same as the
1168+ basic interface. The interpretation of those additional parameters is
11691169the same as for @code {fftw_plan_many_dft }. (Of course, the
11701170@code {stride } and @code {dist } parameters are now in units of
11711171@code {double }, not @code {fftw_complex }.)
@@ -1282,7 +1282,7 @@ A row-major multidimensional array with dimensions @code{n[rank]}
12821282(@pxref {Row-major Format }) corresponds to @code {dims[i].n } =
12831283@code {n[i] } and the recurrence @code {dims[i].is } = @code {n[i+1] *
12841284dims[i+1].is } (similarly for @code {os }). The stride of the last
1285- (@code {i=rank-1 }) dimension is the overall stride of the array.
1285+ (@code {i=rank-1 }) dimension is the overall stride of the array,
12861286e.g. to be equivalent to the advanced complex-DFT interface, you would
12871287have @code {dims[rank-1].is } = @code {istride } and
12881288@code {dims[rank-1].os } = @code {ostride }.
@@ -1566,7 +1566,7 @@ detailed below, provided that the following conditions are met:
15661566@itemize @bullet
15671567
15681568@item
1569- The array size, strides, etcetera are the same (since those are set by
1569+ The array size, strides, etc. are the same (since those are set by
15701570the plan).
15711571
15721572@item
@@ -1621,7 +1621,7 @@ if necessary).
16211621If you are tempted to use the new-array execute interface because you
16221622want to transform a known bunch of arrays of the same size, you should
16231623probably go use the advanced interface instead (@pxref {Advanced
1624- Interface })) .
1624+ Interface }).
16251625
16261626The new-array execute functions are:
16271627
@@ -1723,7 +1723,7 @@ convenience, the following three ``wrapper'' routines are provided:
17231723@code {filename } (which is created or overwritten), returning @code {1 }
17241724on success and @code {0 } on failure. A lower-level function, which
17251725requires you to open and close the file yourself (e.g. if you want to
1726- write wisdom to a portion of a larger file) is
1726+ write wisdom to a portion of a larger file), is
17271727@code {fftw_export_wisdom_to_file }. This writes the wisdom to the
17281728current position in @code {output_file }, which should be open with
17291729write permission; upon exit, the file remains open and is positioned
@@ -1771,7 +1771,7 @@ the following three ``wrapper'' routines are provided:
17711771@code {fftw_import_wisdom_from_filename } reads wisdom from a file named
17721772@code {filename }. A lower-level function, which requires you to open
17731773and close the file yourself (e.g. if you want to read wisdom from a
1774- portion of a larger file) is @code {fftw_import_wisdom_from_file }. This
1774+ portion of a larger file), is @code {fftw_import_wisdom_from_file }. This
17751775reads wisdom from the current position in @code {input_file } (which
17761776should be open with read permission); upon exit, the file remains
17771777open, but the position of the read pointer is unspecified.
@@ -1812,7 +1812,7 @@ merely summarize them here, since they come with their own @code{man}
18121812pages for Unix and GNU systems (with HTML versions on our web site).
18131813
18141814The first program is @code {fftw-wisdom } (or @code {fftwf-wisdom } in
1815- single precision, etcetera ), which can be used to create a wisdom file
1815+ single precision, etc. ), which can be used to create a wisdom file
18161816containing plans for any of the transform sizes and types supported by
18171817FFTW. It is preferable to create wisdom directly from your executable
18181818(@pxref {Caveats in Using Wisdom }), but this program is useful for
@@ -2438,7 +2438,7 @@ peculiar array format described in more detail by @ref{Real-data DFT
24382438Array Format }.
24392439
24402440The multi-dimensional c2r transform is simply the unnormalized inverse
2441- of the r2c transform. i.e. it is the same as FFTW's complex backward
2441+ of the r2c transform, i.e. it is the same as FFTW's complex backward
24422442multi-dimensional DFT, operating on a Hermitian input array in the
24432443peculiar format mentioned above and outputting a real array (since the
24442444DFT output is purely real).
0 commit comments