亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? fftw.texi

?? FFTW, a collection of fast C routines to compute the Discrete Fourier Transform in one or more dime
?? TEXI
?? 第 1 頁 / 共 5 頁
字號:
@subsection Importing and Exporting Wisdom@cindex wisdom, import and export@examplevoid fftw_export_wisdom_to_file(FILE *output_file);fftw_status fftw_import_wisdom_from_file(FILE *input_file);@end example@findex fftw_export_wisdom_to_file@findex fftw_import_wisdom_from_file@code{fftw_export_wisdom_to_file} writes the @code{wisdom} to@code{output_file}, which must be a file open forwriting. @code{fftw_import_wisdom_from_file} reads the @code{wisdom}from @code{input_file}, which must be a file open for reading, andreturns @code{FFTW_SUCCESS} if successful and @code{FFTW_FAILURE}otherwise. In both cases, the file is left open and must be closed bythe caller.  It is perfectly fine if other data lie before or after the@code{wisdom} in the file, as long as the file is positioned at thebeginning of the @code{wisdom} data before import.@examplechar *fftw_export_wisdom_to_string(void);fftw_status fftw_import_wisdom_from_string(const char *input_string)@end example@findex fftw_export_wisdom_to_string@findex fftw_import_wisdom_from_string@code{fftw_export_wisdom_to_string} allocates a string, exports the@code{wisdom} to it in @code{NULL}-terminated format, and returns apointer to the string.  If there is an error in allocating or writingthe data, it returns @code{NULL}.  The caller is responsible fordeallocating the string (with @code{fftw_free}) when she is done withit. @code{fftw_import_wisdom_from_string} imports the @code{wisdom} from@code{input_string}, returning @code{FFTW_SUCCESS} if successful and@code{FFTW_FAILURE} otherwise.Exporting @code{wisdom} does not affect the store of @code{wisdom}. Imported@code{wisdom} supplements the current store rather than replacing it(except when there is conflicting @code{wisdom}, in which case the older@code{wisdom} is discarded). The format of the exported @code{wisdom} is``nerd-readable'' LISP-like ASCII text; we will not document it hereexcept to note that it is insensitive to white space (interested userscan contact us for more details).@cindex LISP@cindex nerd-readable text@xref{FFTW Reference}, for more information, and for a description ofhow you can implement @code{wisdom} import/export for other mediabesides files and strings.The following is a brief example in which the @code{wisdom} is read froma file, a plan is created (possibly generating more @code{wisdom}), andthen the @code{wisdom} is exported to a string and printed to@code{stdout}.@example@{     fftw_plan plan;     char *wisdom_string;     FILE *input_file;     /* open file to read wisdom from */     input_file = fopen("sample.wisdom", "r");     if (FFTW_FAILURE == fftw_import_wisdom_from_file(input_file))          printf("Error reading wisdom!\n");     fclose(input_file); /* be sure to close the file! */     /* create a plan for N=64, possibly creating and/or using wisdom */     plan = fftw_create_plan(64,FFTW_FORWARD,                             FFTW_MEASURE | FFTW_USE_WISDOM);     /* ... do some computations with the plan ... */     /* always destroy plans when you are done */     fftw_destroy_plan(plan);     /* write the wisdom to a string */     wisdom_string = fftw_export_wisdom_to_string();     if (wisdom_string != NULL) @{          printf("Accumulated wisdom: %s\n",wisdom_string);          /* Just for fun, destroy and restore the wisdom */          fftw_forget_wisdom(); /* all gone! */          fftw_import_wisdom_from_string(wisdom_string);          /* wisdom is back! */          fftw_free(wisdom_string); /* deallocate it since we're done */     @}@}@end example@c ************************************************************@node FFTW Reference, Parallel FFTW, Tutorial, Top@chapter FFTW ReferenceThis chapter provides a complete reference for all sequential (i.e.,one-processor) FFTW functions.  We first define the data types uponwhich FFTW operates, that is, real, complex, and ``halfcomplex'' numbers(@pxref{Data Types}).  Then, in four sections, we explain the FFTWprogram interface for complex one-dimensional transforms(@pxref{One-dimensional Transforms Reference}), complexmulti-dimensional transforms (@pxref{Multi-dimensional TransformsReference}), and real one-dimensional transforms (@pxref{RealOne-dimensional Transforms Reference}), real multi-dimensionaltransforms (@pxref{Real Multi-dimensional Transforms Reference}).@ref{Wisdom Reference} describes the @code{wisdom} mechanism forexporting and importing plans.  Finally, @ref{Memory AllocatorReference} describes how to change FFTW's default memory allocator.For parallel transforms, @xref{Parallel FFTW}.@menu* Data Types::                  real, complex, and halfcomplex numbers* One-dimensional Transforms Reference::  * Multi-dimensional Transforms Reference::  * Real One-dimensional Transforms Reference::  * Real Multi-dimensional Transforms Reference::  * Wisdom Reference::            * Memory Allocator Reference::  * Thread safety::               @end menu@c -------------------------------------------------------@node Data Types, One-dimensional Transforms Reference, FFTW Reference, FFTW Reference@section Data Types@cindex real number@cindex complex number@cindex halfcomplex arrayThe routines in the FFTW package use three main kinds of data types.@dfn{Real} and @dfn{complex} numbers should be already known to thereader.  We also use the term @dfn{halfcomplex} to describe complexarrays in a special packed format used by the one-dimensional realtransforms (taking advantage of the @dfn{hermitian} symmetry that arisesin those cases).By including @code{<fftw.h>} or @code{<rfftw.h>}, you will have accessto the following definitions:@exampletypedef double fftw_real;typedef struct @{     fftw_real re, im;@} fftw_complex;#define c_re(c)  ((c).re)#define c_im(c)  ((c).im)@end example@tindex fftw_real@tindex fftw_complexAll FFTW operations are performed on the @code{fftw_real} and@code{fftw_complex} data types.  For @code{fftw_complex} numbers, thetwo macros @code{c_re} and @code{c_im} retrieve, respectively, the realand imaginary parts of the number.A @dfn{real array} is an array of real numbers.  A @dfn{complex array}is an array of complex numbers.  A one-dimensional array @math{X} of@math{n} complex numbers is @dfn{hermitian} if the following propertyholds:@texfor all $0 \leq i < n$, we have $X_i = X^{*}_{n-i}$, where$x^*$ denotes the complex conjugate of $x$.@end tex@ifinfofor all @math{0 <= i < n}, we have @math{X[i] = conj(X[n-i])}.@end ifinfo@ifhtmlfor all 0 &lt;= i &lt; n, we have X<sub>i</sub> = conj(X<sub>n-i</sub>)}.@end ifhtmlHermitian arrays are relevant to FFTW because the Fourier transform of areal array is hermitian.Because of its symmetry, a hermitian array can be stored in half thespace of a complex array of the same size.  FFTW's one-dimensional realtransforms store hermitian arrays as @dfn{halfcomplex} arrays.  Ahalfcomplex array of size @math{n} is@cindex hermitian arraya one-dimensional array of @math{n} @code{fftw_real} numbers.  Ahermitian array @math{X} in stored into a halfcomplex array @math{Y} asfollows.@texFor all integers $i$ such that $0 \leq i \leq n / 2$, we have $Y_i :=\hbox{Re}(X_i)$.  For all integers $i$ such that $0 < i < n / 2$,we have $Y_{n - i} := \hbox{Im}(X_i)$.@end tex@ifinfoFor all integers @math{i} such that @math{0 <= i <= n / 2}, we have@math{Y[i] = Re(X[i])}.  For all integers @math{i} such that @math{0 <i < n / 2}, we have @math{Y[n-i] = Im(X[i])}.@end ifinfo@ifhtmlFor all integers i such that 0 &lt;= i &lt;= n / 2, we haveY<sub>i</sub> = Re(X<sub>i</sub>).  For all integers i such that 0&lt; i &lt; n / 2, we have Y<sub>n-i</sub> = Im(X<sub>i</sub>).@end ifhtmlWe now illustrate halfcomplex storage for @math{n = 4} and @math{n = 5},since the scheme depends on the parity of @math{n}.  Let @math{n = 4}.In this case, we have@tex$Y_0 := \hbox{Re}(X_0)$, $Y_1 := \hbox{Re}(X_1)$,$Y_2 := \hbox{Re}(X_2)$, and $Y_3 := \hbox{Im}(X_1)$.@end tex@ifinfo@math{Y[0] = Re(X[0])}, @math{Y[1] = Re(X[1])},@math{Y[2] = Re(X[2])}, and  @math{Y[3] = Im(X[1])}.@end ifinfo@ifhtmlY<sub>0</sub> = Re(X<sub>0</sub>), Y<sub>1</sub> = Re(X<sub>1</sub>),Y<sub>2</sub> = Re(X<sub>2</sub>), and  Y<sub>3</sub> = Im(X<sub>1</sub>).@end ifhtmlLet now @math{n = 5}.  In this case, we have@tex$Y_0 := \hbox{Re}(X_0)$, $Y_1 := \hbox{Re}(X_1)$,$Y_2 := \hbox{Re}(X_2)$, $Y_3 := \hbox{Im}(X_2)$, and $Y_4 := \hbox{Im}(X_1)$.@end tex@ifinfo@math{Y[0] = Re(X[0])}, @math{Y[1] = Re(X[1])},@math{Y[2] = Re(X[2])}, @math{Y[3] = Im(X[2])}, and@math{Y[4] = Im(X[1])}.@end ifinfo@ifhtmlY<sub>0</sub> = Re(X<sub>0</sub>), Y<sub>1</sub> = Re(X<sub>1</sub>),Y<sub>2</sub> = Re(X<sub>2</sub>), Y<sub>3</sub> = Im(X<sub>2</sub>),and Y<sub>4</sub> = Im(X<sub>1</sub>).@end ifhtml@cindex floating-point precisionBy default, the type @code{fftw_real} equals the C type @code{double}.To work in single precision rather than double precision, @code{#define}the symbol @code{FFTW_ENABLE_FLOAT} in @code{fftw.h} and then recompilethe library.  On Unix systems, you can instead use @code{configure--enable-float} at installation time (@pxref{Installation andCustomization}).@fpindex configure@ctindex FFTW_ENABLE_FLOATIn version 1 of FFTW, the data types were called @code{FFTW_REAL} and@code{FFTW_COMPLEX}.  We changed the capitalization for consistency withthe rest of FFTW's conventions.  The old names are still supported, buttheir use is deprecated.@tindex FFTW_REAL@tindex FFTW_COMPLEX@c -------------------------------------------------------@node One-dimensional Transforms Reference, Multi-dimensional Transforms Reference, Data Types, FFTW Reference@section One-dimensional Transforms ReferenceThe one-dimensional complex routines are generally prefixed with@code{fftw_}.  Programs using FFTW should be linked with @code{-lfftw-lm} on Unix systems, or with the FFTW and standard math libraries ingeneral.@menu* fftw_create_plan::            Plan Creation* Discussion on Specific Plans::  * fftw::                        Plan Execution* fftw_destroy_plan::           Plan Destruction* What FFTW Really Computes::   Definition of the DFT.@end menu@node    fftw_create_plan, Discussion on Specific Plans, One-dimensional Transforms Reference, One-dimensional Transforms Reference@subsection Plan Creation for One-dimensional Transforms@example#include <fftw.h>fftw_plan fftw_create_plan(int n, fftw_direction dir,                           int flags);fftw_plan fftw_create_plan_specific(int n, fftw_direction dir,                                    int flags,                                    fftw_complex *in, int istride,                                    fftw_complex *out, int ostride);@end example@tindex fftw_plan@tindex fftw_direction@findex fftw_create_plan@findex fftw_create_plan_specificThe function @code{fftw_create_plan} creates a plan, which isa data structure containing all the information that @code{fftw}needs in order to compute the 1D Fourier transform. You cancreate as many plans as you need, but only one plan for a givenarray size is required (a plan can be reused many times).@code{fftw_create_plan} returns a valid plan, or @code{NULL}if, for some reason, the plan can't be created.  In thedefault installation, this cannot happen, but it is possibleto configure FFTW in such a way that some input sizes areforbidden, and FFTW cannot create a plan.The @code{fftw_create_plan_specific} variant takes as additionalarguments specific input/output arrays and their strides.  For the lastfour arguments, you should pass the arrays and strides that you willeventually be passing to @code{fftw}.  The resulting plans will beoptimized for those arrays and strides, although they may be used onother arrays as well.  Note: the contents of the in and out arrays are@emph{destroyed} by the specific planner (the initial contents areignored, so the arrays need not have been initialized).@subsubheading Arguments@itemize @bullet@item@code{n} is the size of the transform.  It can be any positive integer. @itemize @minus@itemFFTW is best at handling sizes of the form@ifinfo@math{2^a 3^b 5^c 7^d 11^e 13^f},@end ifinfo@tex$2^a 3^b 5^c 7^d 11^e 13^f$,@end tex@ifhtml2<SUP>a</SUP> 3<SUP>b</SUP> 5<SUP>c</SUP> 7<SUP>d</SUP>        11<SUP>e</SUP> 13<SUP>f</SUP>,@end ifhtmlwhere @math{e+f} is either @math{0} or@math{1}, and the other exponents are arbitrary.  Other sizes arecomputed by means of a slow, general-purpose routine (which neverthelessretains @tex$O(n \lo

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美成人a在线| 亚洲激情网站免费观看| 亚洲欧洲精品一区二区三区| 偷拍一区二区三区四区| 国产成人精品www牛牛影视| 欧美人妇做爰xxxⅹ性高电影| 久久久久久97三级| 热久久久久久久| 色8久久精品久久久久久蜜| 精品福利视频一区二区三区| 亚洲电影欧美电影有声小说| 成人毛片在线观看| 精品剧情v国产在线观看在线| 亚洲一区二区三区中文字幕在线| 国产成人精品一区二| 成人免费视频在线观看| 精油按摩中文字幕久久| 欧美高清精品3d| 亚洲综合av网| 色欧美乱欧美15图片| 中文字幕在线不卡一区二区三区 | 亚洲mv大片欧洲mv大片精品| 国产成人免费在线观看| 欧美v日韩v国产v| 日韩高清不卡一区二区三区| 欧美在线短视频| 一区二区成人在线视频| 99精品国产视频| 中文字幕日本不卡| av动漫一区二区| 日韩美女视频一区| 9色porny自拍视频一区二区| 中文一区在线播放| av不卡在线观看| 中文字幕视频一区| 91丨九色丨黑人外教| 国产精品电影院| 色综合天天性综合| 亚洲另类春色校园小说| 色婷婷久久综合| 亚洲影院理伦片| 欧美电影在哪看比较好| 天堂一区二区在线| 欧美电影免费观看高清完整版在线| 美女视频第一区二区三区免费观看网站| 欧美一区二区三区日韩视频| 蜜臀91精品一区二区三区 | 五月婷婷激情综合| 欧美一级欧美三级在线观看| 麻豆国产欧美日韩综合精品二区 | 日本欧美大码aⅴ在线播放| 欧美精品乱码久久久久久 | 成人国产视频在线观看| 国产精品白丝在线| 色呦呦国产精品| 日本成人在线看| 久久综合av免费| 91精彩视频在线| 老司机精品视频在线| 国产精品美女一区二区| 色婷婷av一区二区三区软件| 日韩影院免费视频| 久久久久久久av麻豆果冻| 日本韩国视频一区二区| 日产精品久久久久久久性色| 久久亚洲一区二区三区明星换脸| 99久久精品久久久久久清纯| 一区二区三区不卡视频在线观看 | 国产午夜一区二区三区| 99久久精品国产麻豆演员表| 日韩综合一区二区| 久久精品视频网| 欧美日韩国产bt| 懂色av一区二区夜夜嗨| 午夜激情综合网| 国产精品久久久久久久岛一牛影视 | 26uuu亚洲综合色欧美| 色综合亚洲欧洲| 国产一区二区三区在线观看免费视频| 自拍偷拍亚洲激情| 欧美videossexotv100| 94-欧美-setu| 国产美女精品人人做人人爽| 亚洲综合一区二区精品导航| 久久久久国产精品人| 欧美日韩视频第一区| av在线播放一区二区三区| 美女久久久精品| 亚洲高清免费在线| 国产精品国产a| 久久久五月婷婷| 欧美一级精品在线| 在线免费观看日韩欧美| 成人精品视频一区二区三区| 青青草原综合久久大伊人精品优势| 亚洲欧美日韩久久精品| 久久精品视频网| 久久影音资源网| 欧美一区二区在线播放| 欧美日韩精品欧美日韩精品| 成人av影院在线| 国产传媒欧美日韩成人| 精品亚洲成a人| 免费美女久久99| 免费三级欧美电影| 亚洲成av人片www| 亚洲一卡二卡三卡四卡无卡久久| 自拍偷拍欧美激情| 亚洲欧美在线观看| 国产精品久久久久影院老司 | 精品视频免费在线| 欧美在线影院一区二区| 欧洲精品一区二区| 欧美视频一区在线观看| 91福利精品第一导航| 91色视频在线| 在线观看日韩av先锋影音电影院| 91在线观看污| 欧美午夜精品一区二区蜜桃| 一本到三区不卡视频| 欧美亚洲国产怡红院影院| 欧美性欧美巨大黑白大战| 欧美日韩精品专区| 在线电影一区二区三区| 日韩色视频在线观看| 久久中文娱乐网| 亚洲欧洲av在线| 亚洲福中文字幕伊人影院| 蜜桃视频一区二区三区| 精彩视频一区二区三区| 粉嫩在线一区二区三区视频| zzijzzij亚洲日本少妇熟睡| 91黄色激情网站| 91精品欧美一区二区三区综合在| 欧美岛国在线观看| 久久久久久久久久久久久女国产乱 | 欧美激情在线一区二区三区| 中文字幕av资源一区| 樱桃国产成人精品视频| 图片区小说区国产精品视频| 精品一二三四在线| aaa亚洲精品一二三区| 欧美日韩精品一区二区三区| 精品国产免费视频| 国产精品视频一二三区 | 国产精品久久看| 亚洲午夜私人影院| 国模大尺度一区二区三区| www.欧美亚洲| 欧美一区二区三区小说| 国产精品嫩草99a| 日韩综合在线视频| 成人性生交大片免费| 欧美日韩一区二区在线观看视频 | 欧美三级视频在线| 亚洲精品在线电影| 亚洲黄网站在线观看| 久久国产婷婷国产香蕉| 色综合一区二区| 久久亚洲综合av| 午夜免费久久看| 高清日韩电视剧大全免费| 欧美日韩不卡在线| 亚洲婷婷综合久久一本伊一区| 日日摸夜夜添夜夜添精品视频| 成人国产精品免费| 日韩视频123| 亚洲一区二区三区四区的| 国产成人综合自拍| 日韩一区二区免费在线观看| 亚洲蜜臀av乱码久久精品蜜桃| 国产在线精品免费av| 欧美电影一区二区三区| 亚洲精品美腿丝袜| 波多野结衣欧美| 久久网站最新地址| 麻豆精品蜜桃视频网站| 欧美在线观看一区| 日韩毛片视频在线看| 国产99久久精品| 精品国产乱码久久久久久夜甘婷婷 | 色偷偷久久人人79超碰人人澡| 精品捆绑美女sm三区| 男男gaygay亚洲| 欧美日韩在线播放三区| 一区二区三区久久久| caoporen国产精品视频| 国产校园另类小说区| 国产在线麻豆精品观看| 日韩精品最新网址| 欧美aⅴ一区二区三区视频| 欧美日韩国产首页| 亚洲一区二区三区免费视频| 一本色道久久加勒比精品| 亚洲欧洲日韩在线| 99久久99久久精品免费看蜜桃| 国产精品无人区| 成人免费视频免费观看| 国产精品乱人伦一区二区| 懂色av一区二区三区免费看|