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

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

?? fftpack.cpp

?? Add c++ support for Gaussian Quadrature v1.1
?? CPP
?? 第 1 頁 / 共 5 頁
字號:
/*  * This file is based largely on the following software distribution: *  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *  *                              FFTPACK *  * Reference                                                                                                                         *    P.N. Swarztrauber, Vectorizing the FFTs, in Parallel Computations *    (G. Rodrigue, ed.), Academic Press, 1982, pp. 51--83.                                                                                                                    *  *     http://www.netlib.org/fftpack/ *  * Updated to single, double, and extended precision, * and translated to ISO-Standard C/C++ (without aliasing) * on 10 October 2005 by Andrew Fernandes <andrew_AT_fernandes.org> *  *                   Version 4  April 1985 *  *      A Package of Fortran Subprograms for the Fast Fourier *       Transform of Periodic and other Symmetric Sequences *  *                          by *  *                   Paul N Swarztrauber *  *   National Center for Atmospheric Research, Boulder, Colorado 80307, *  *    which is sponsored by the National Science Foundation *  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *  * There appears to be no explicit license for FFTPACK. However, the * package has been incorporated verbatim into a large number of software * systems over the years with numerous types of license without complaint * from the original author; therefore it would appear * that the code is effectively public domain. If you are in doubt, * however, you will need to contact the author or the  National Center * for Atmospheric Research to be sure. *  * All the changes from the original FFTPACK to the current file * fall under the following BSD-style open-source license: *  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *  * Copyright (c) 2005, Andrew Fernandes (andrew@fernandes.org); * All rights reserved. *   * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: *   * - Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. *  * - Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. *  * - Neither the name of the North Carolina State University nor the * names of its contributors may be used to endorse or promote products * derived from this software without specific prior written permission. *   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * */#include "fftpack.h"#ifdef __cplusplus#include <cmath> /* the correct precision will be automatically selected */using std::cos;using std::sin;#else /* ! __cplusplus */#include <math.h> /* you must define/typedef the functions 'cos/cosf/cosl' and 'sin/sinf/sinl' as appropriate *//* real_t cos(real_t); *//* real_t sin(real_t); */#endifstatic void cfftb1( integer_t *n, real_t *c__, real_t *ch, real_t *wa, integer_t *ifac );static void cfftf1( integer_t *n, real_t *c__, real_t *ch, real_t *wa, integer_t *ifac );static void cffti1( integer_t *n, real_t *wa, integer_t *ifac );static void cosqb1( integer_t *n, real_t *x, real_t *w, real_t *xh, integer_t *ifac );static void cosqf1( integer_t *n, real_t *x, real_t *w, real_t *xh, integer_t *ifac );static void ezfft1( integer_t *n, real_t *wa, integer_t *ifac );static void passb( integer_t *nac, integer_t *ido, integer_t *ip, integer_t *l1, integer_t *idl1, real_t *cc, real_t *c1, real_t *c2, real_t *ch, real_t *ch2, real_t *wa );static void passb2( integer_t *ido, integer_t *l1, real_t *cc, real_t *ch, real_t *wa1 );static void passb3( integer_t *ido, integer_t *l1, real_t *cc, real_t *ch, real_t *wa1, real_t *wa2 );static void passb4( integer_t *ido, integer_t *l1, real_t *cc, real_t *ch, real_t *wa1, real_t *wa2, real_t *wa3 );static void passb5( integer_t *ido, integer_t *l1, real_t *cc, real_t *ch, real_t *wa1, real_t *wa2, real_t *wa3, real_t *wa4 );static void passf( integer_t *nac, integer_t *ido, integer_t *ip, integer_t *l1, integer_t *idl1, real_t *cc, real_t *c1, real_t *c2, real_t *ch, real_t *ch2, real_t *wa );static void passf2( integer_t *ido, integer_t *l1, real_t *cc, real_t *ch, real_t *wa1 );static void passf3( integer_t *ido, integer_t *l1, real_t *cc, real_t *ch, real_t *wa1, real_t *wa2 );static void passf4( integer_t *ido, integer_t *l1, real_t *cc, real_t *ch, real_t *wa1, real_t *wa2, real_t *wa3 );static void passf5( integer_t *ido, integer_t *l1, real_t *cc, real_t *ch, real_t *wa1, real_t *wa2, real_t *wa3, real_t *wa4 );static void radb2( integer_t *ido, integer_t *l1, real_t *cc, real_t *ch, real_t *wa1 );static void radb3( integer_t *ido, integer_t *l1, real_t *cc, real_t *ch, real_t *wa1, real_t *wa2 );static void radb4( integer_t *ido, integer_t *l1, real_t *cc, real_t *ch, real_t *wa1, real_t *wa2, real_t *wa3 );static void radb5( integer_t *ido, integer_t *l1, real_t *cc, real_t *ch, real_t *wa1, real_t *wa2, real_t *wa3, real_t *wa4 );static void radbg( integer_t *ido, integer_t *ip, integer_t *l1, integer_t *idl1, real_t *cc, real_t *c1, real_t *c2, real_t *ch, real_t *ch2, real_t *wa );static void radf2( integer_t *ido, integer_t *l1, real_t *cc, real_t *ch, real_t *wa1 );static void radf3( integer_t *ido, integer_t *l1, real_t *cc, real_t *ch, real_t *wa1, real_t *wa2 );static void radf4( integer_t *ido, integer_t *l1, real_t *cc, real_t *ch, real_t *wa1, real_t *wa2, real_t *wa3 );static void radf5( integer_t *ido, integer_t *l1, real_t *cc, real_t *ch, real_t *wa1, real_t *wa2, real_t *wa3, real_t *wa4 );static void radfg( integer_t *ido, integer_t *ip, integer_t *l1, integer_t *idl1, real_t *cc, real_t *c1, real_t *c2, real_t *ch, real_t *ch2, real_t *wa );static void rfftb1( integer_t *n, real_t *c__, real_t *ch, real_t *wa, integer_t *ifac );static void rfftf1( integer_t *n, real_t *c__, real_t *ch, real_t *wa, integer_t *ifac );static void rffti1( integer_t *n, real_t *wa, integer_t *ifac );static void sint1( integer_t *n, real_t *war, real_t *was, real_t *xh, real_t *x, integer_t *ifac );/* Subroutine */ void cfftb(integer_t *n, real_t *c__, real_t *wsave, 	integer_t *ifac){    integer_t iw1;    /* Parameter adjustments */    --ifac;    --wsave;    --c__;    /* Function Body */    if (*n == 1) {	return;    }    iw1 = *n + *n + 1;    cfftb1(n, &c__[1], &wsave[1], &wsave[iw1], &ifac[1]);    return;} /* cfftb_ *//* Subroutine */ static void cfftb1(integer_t *n, real_t *c__, real_t *ch, 	real_t *wa, integer_t *ifac){    /* System generated locals */    integer_t i__1;    /* Local variables */    integer_t i__, k1, l1, l2, n2, na, nf, ip, iw, ix2, ix3, ix4, nac, ido, 	    idl1, idot;    /* Parameter adjustments */    --ifac;    --wa;    --ch;    --c__;    /* Function Body */    nf = ifac[2];    na = 0;    l1 = 1;    iw = 1;    i__1 = nf;    for (k1 = 1; k1 <= i__1; ++k1) {	ip = ifac[k1 + 2];	l2 = ip * l1;	ido = *n / l2;	idot = ido + ido;	idl1 = idot * l1;	if (ip != 4) {	    goto L103;	}	ix2 = iw + idot;	ix3 = ix2 + idot;	if (na != 0) {	    goto L101;	}	passb4(&idot, &l1, &c__[1], &ch[1], &wa[iw], &wa[ix2], &wa[ix3]);	goto L102;L101:	passb4(&idot, &l1, &ch[1], &c__[1], &wa[iw], &wa[ix2], &wa[ix3]);L102:	na = 1 - na;	goto L115;L103:	if (ip != 2) {	    goto L106;	}	if (na != 0) {	    goto L104;	}	passb2(&idot, &l1, &c__[1], &ch[1], &wa[iw]);	goto L105;L104:	passb2(&idot, &l1, &ch[1], &c__[1], &wa[iw]);L105:	na = 1 - na;	goto L115;L106:	if (ip != 3) {	    goto L109;	}	ix2 = iw + idot;	if (na != 0) {	    goto L107;	}	passb3(&idot, &l1, &c__[1], &ch[1], &wa[iw], &wa[ix2]);	goto L108;L107:	passb3(&idot, &l1, &ch[1], &c__[1], &wa[iw], &wa[ix2]);L108:	na = 1 - na;	goto L115;L109:	if (ip != 5) {	    goto L112;	}	ix2 = iw + idot;	ix3 = ix2 + idot;	ix4 = ix3 + idot;	if (na != 0) {	    goto L110;	}	passb5(&idot, &l1, &c__[1], &ch[1], &wa[iw], &wa[ix2], &wa[ix3], &wa[		ix4]);	goto L111;L110:	passb5(&idot, &l1, &ch[1], &c__[1], &wa[iw], &wa[ix2], &wa[ix3], &wa[		ix4]);L111:	na = 1 - na;	goto L115;L112:	if (na != 0) {	    goto L113;	}	passb(&nac, &idot, &ip, &l1, &idl1, &c__[1], &c__[1], &c__[1], &ch[1]		, &ch[1], &wa[iw]);	goto L114;L113:	passb(&nac, &idot, &ip, &l1, &idl1, &ch[1], &ch[1], &ch[1], &c__[1], 		&c__[1], &wa[iw]);L114:	if (nac != 0) {	    na = 1 - na;	}L115:	l1 = l2;	iw += (ip - 1) * idot;/* L116: */    }    if (na == 0) {	return;    }    n2 = *n + *n;    i__1 = n2;    for (i__ = 1; i__ <= i__1; ++i__) {	c__[i__] = ch[i__];/* L117: */    }    return;} /* cfftb1_ *//* Subroutine */ void cfftf(integer_t *n, real_t *c__, real_t *wsave, 	integer_t *ifac){    integer_t iw1;    /* Parameter adjustments */    --ifac;    --wsave;    --c__;    /* Function Body */    if (*n == 1) {	return;    }    iw1 = *n + *n + 1;    cfftf1(n, &c__[1], &wsave[1], &wsave[iw1], &ifac[1]);    return;} /* cfftf_ *//* Subroutine */ static void cfftf1(integer_t *n, real_t *c__, real_t *ch, 	real_t *wa, integer_t *ifac){    /* System generated locals */    integer_t i__1;    /* Local variables */    integer_t i__, k1, l1, l2, n2, na, nf, ip, iw, ix2, ix3, ix4, nac, ido, 	    idl1, idot;    /* Parameter adjustments */    --ifac;    --wa;    --ch;    --c__;    /* Function Body */    nf = ifac[2];    na = 0;    l1 = 1;    iw = 1;    i__1 = nf;    for (k1 = 1; k1 <= i__1; ++k1) {	ip = ifac[k1 + 2];	l2 = ip * l1;	ido = *n / l2;	idot = ido + ido;	idl1 = idot * l1;	if (ip != 4) {	    goto L103;	}	ix2 = iw + idot;	ix3 = ix2 + idot;	if (na != 0) {	    goto L101;	}	passf4(&idot, &l1, &c__[1], &ch[1], &wa[iw], &wa[ix2], &wa[ix3]);	goto L102;L101:	passf4(&idot, &l1, &ch[1], &c__[1], &wa[iw], &wa[ix2], &wa[ix3]);L102:	na = 1 - na;	goto L115;L103:	if (ip != 2) {	    goto L106;	}	if (na != 0) {	    goto L104;	}	passf2(&idot, &l1, &c__[1], &ch[1], &wa[iw]);	goto L105;L104:	passf2(&idot, &l1, &ch[1], &c__[1], &wa[iw]);L105:	na = 1 - na;	goto L115;L106:	if (ip != 3) {	    goto L109;	}	ix2 = iw + idot;	if (na != 0) {	    goto L107;	}	passf3(&idot, &l1, &c__[1], &ch[1], &wa[iw], &wa[ix2]);	goto L108;L107:	passf3(&idot, &l1, &ch[1], &c__[1], &wa[iw], &wa[ix2]);L108:	na = 1 - na;	goto L115;L109:	if (ip != 5) {	    goto L112;	}	ix2 = iw + idot;	ix3 = ix2 + idot;	ix4 = ix3 + idot;	if (na != 0) {	    goto L110;	}	passf5(&idot, &l1, &c__[1], &ch[1], &wa[iw], &wa[ix2], &wa[ix3], &wa[		ix4]);	goto L111;L110:	passf5(&idot, &l1, &ch[1], &c__[1], &wa[iw], &wa[ix2], &wa[ix3], &wa[		ix4]);L111:	na = 1 - na;	goto L115;L112:	if (na != 0) {	    goto L113;	}	passf(&nac, &idot, &ip, &l1, &idl1, &c__[1], &c__[1], &c__[1], &ch[1]		, &ch[1], &wa[iw]);	goto L114;L113:	passf(&nac, &idot, &ip, &l1, &idl1, &ch[1], &ch[1], &ch[1], &c__[1], 		&c__[1], &wa[iw]);L114:	if (nac != 0) {	    na = 1 - na;	}L115:	l1 = l2;	iw += (ip - 1) * idot;/* L116: */    }    if (na == 0) {	return;    }    n2 = *n + *n;    i__1 = n2;    for (i__ = 1; i__ <= i__1; ++i__) {	c__[i__] = ch[i__];/* L117: */    }    return;} /* cfftf1_ *//* Subroutine */ void cffti(integer_t *n, real_t *wsave, integer_t *ifac){    integer_t iw1;    /* Parameter adjustments */    --ifac;    --wsave;    /* Function Body */    if (*n == 1) {	return;    }    iw1 = *n + *n + 1;    cffti1(n, &wsave[iw1], &ifac[1]);    return;} /* cffti_ *//* Subroutine */ static void cffti1(integer_t *n, real_t *wa, integer_t *ifac){    /* Initialized data */    static integer_t ntryh[4] = { 3,4,2,5 };    /* System generated locals */    integer_t i__1, i__2, i__3;    /* Local variables */    integer_t i__, j, i1, k1, l1, l2, ib;    real_t fi;    integer_t ld, ii, nf, ip, nl, nq, nr;    real_t arg;    integer_t ido, ipm;    real_t tpi, argh;    integer_t idot, ntry=0;    real_t argld;    /* Parameter adjustments */    --ifac;    --wa;    /* Function Body */    nl = *n;    nf = 0;    j = 0;L101:    ++j;    if (j - 4 <= 0) {	goto L102;    } else {	goto L103;    }L102:    ntry = ntryh[j - 1];    goto L104;L103:    ntry += 2;L104:    nq = nl / ntry;    nr = nl - ntry * nq;    if (nr != 0) {	goto L101;    } else {	goto L105;    }L105:    ++nf;    ifac[nf + 2] = ntry;    nl = nq;    if (ntry != 2) {	goto L107;    }    if (nf == 1) {	goto L107;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩在线观看一区二区 | 国产麻豆精品95视频| 成人激情小说网站| 欧美另类一区二区三区| 欧美激情艳妇裸体舞| 婷婷开心激情综合| 色综合天天综合| 久久综合一区二区| 日韩精品三区四区| 91黄色免费网站| 国产精品入口麻豆原神| 蜜臀精品一区二区三区在线观看| 99精品视频一区二区三区| 欧美一三区三区四区免费在线看| 亚洲天天做日日做天天谢日日欢| 美女在线视频一区| 欧美区视频在线观看| 亚洲欧美一区二区三区久本道91| 精品亚洲成av人在线观看| 精品视频免费看| 亚洲人成网站精品片在线观看| 激情五月播播久久久精品| 91麻豆精品久久久久蜜臀 | 色综合一区二区三区| 国产香蕉久久精品综合网| 日本不卡一区二区三区高清视频| 一本色道a无线码一区v| 1区2区3区欧美| 成人v精品蜜桃久久一区| 国产午夜精品福利| 国产一区二区免费看| 精品国产亚洲一区二区三区在线观看| 午夜精品免费在线| 欧美中文字幕一二三区视频| 国产精品传媒入口麻豆| 成人一区二区三区| 国产午夜亚洲精品午夜鲁丝片| 久久国产综合精品| 精品国产123| 国产福利一区在线| 欧美极品另类videosde| 高清不卡一区二区在线| 国产精品美女久久久久aⅴ| 国产成人8x视频一区二区| 国产日本欧洲亚洲| 不卡一卡二卡三乱码免费网站| 国产精品福利一区| 91捆绑美女网站| 亚洲综合一二三区| 欧美日韩中文字幕精品| 秋霞成人午夜伦在线观看| 日韩网站在线看片你懂的| 韩国视频一区二区| 国产嫩草影院久久久久| 91免费在线视频观看| 洋洋av久久久久久久一区| 欧美主播一区二区三区美女| 日日夜夜精品视频免费| 久久嫩草精品久久久精品| 成人a免费在线看| 亚洲一区二区三区视频在线播放| 91精选在线观看| 国模一区二区三区白浆| 综合久久久久综合| 制服丝袜亚洲精品中文字幕| 久久精品国产精品青草| 国产精品视频观看| 欧美日韩免费观看一区二区三区| 日本aⅴ免费视频一区二区三区 | 91精品国产综合久久精品图片| 精品一区二区免费视频| 国产精品亲子伦对白| 欧美人动与zoxxxx乱| 精品一区二区日韩| 亚洲黄色免费网站| 精品国产sm最大网站| 色久综合一二码| 国产一区二区在线观看视频| 一区二区三区四区高清精品免费观看| 欧美一区二区三区视频免费| 97精品视频在线观看自产线路二| 免费看精品久久片| 亚洲精品免费看| 久久夜色精品一区| 欧美色图激情小说| av网站一区二区三区| 黑人精品欧美一区二区蜜桃| 亚洲一区二区在线播放相泽| 日本一区二区视频在线| 日韩欧美国产1| 欧美日韩一区二区三区在线 | 极品尤物av久久免费看| 一区二区欧美国产| 国产精品久久久久aaaa樱花| 精品对白一区国产伦| 欧美一区二区三区影视| 欧美疯狂性受xxxxx喷水图片| 91日韩精品一区| 成人一区二区三区中文字幕| 久久精品国产一区二区三区免费看| 一区二区在线观看视频在线观看| 中文字幕欧美三区| 欧美精品一区二区在线观看| 日韩女优毛片在线| 欧美一区二区视频网站| 欧美三级韩国三级日本三斤| 91视频观看视频| 成人免费毛片a| 国产不卡视频在线观看| 国产一本一道久久香蕉| 国产真实乱偷精品视频免| 男女男精品网站| 捆绑紧缚一区二区三区视频| 偷拍一区二区三区四区| 亚洲动漫第一页| 午夜精品免费在线| 日韩二区在线观看| 日本成人在线网站| 久久99精品国产.久久久久| 蓝色福利精品导航| 韩国v欧美v日本v亚洲v| 国产成人免费在线| 懂色av一区二区夜夜嗨| 不卡av在线网| 色综合网站在线| 欧美老年两性高潮| 91麻豆精品国产91久久久| 欧美电影精品一区二区| 久久久久久久久一| 成人免费小视频| 亚洲第一久久影院| 麻豆精品国产传媒mv男同| 国产精品911| 99久精品国产| 欧美高清www午色夜在线视频| 欧美电视剧免费观看| 色欧美片视频在线观看| 国内精品写真在线观看| 久久精品99国产精品日本| 国模无码大尺度一区二区三区| 视频一区二区不卡| 日本特黄久久久高潮| 成人一级片在线观看| 久久电影网站中文字幕| 亚洲一区二区3| 亚洲欧洲日韩综合一区二区| 精品国产1区2区3区| 日韩欧美在线观看一区二区三区| 成人va在线观看| 亚洲激情网站免费观看| 99精品热视频| 亚洲视频在线一区观看| 看国产成人h片视频| 日本电影亚洲天堂一区| 国产欧美日韩在线| 91久久国产最好的精华液| 美国毛片一区二区| 久久精品一区二区| 国产九色sp调教91| 99久久综合狠狠综合久久| 欧美人xxxx| 日韩av午夜在线观看| 欧美一卡二卡三卡| 日韩中文字幕不卡| 成人免费精品视频| 欧美日韩国产一区| 国产精品丝袜一区| 奇米精品一区二区三区四区| 成人在线视频一区二区| 91精品久久久久久久久99蜜臂| 欧美韩国日本不卡| 另类小说欧美激情| 色综合久久久久综合体| 国产情人综合久久777777| 日日夜夜免费精品视频| 色欧美片视频在线观看在线视频| 日韩欧美色综合| 亚洲午夜一二三区视频| 国产.精品.日韩.另类.中文.在线.播放| 色狠狠综合天天综合综合| 久久久精品人体av艺术| 免费久久99精品国产| 欧美色综合天天久久综合精品| 中文av字幕一区| 久久99精品一区二区三区 | 欧美另类一区二区三区| 最新国产成人在线观看| 国产91精品在线观看| 精品国产一区二区三区忘忧草| 91精品国产日韩91久久久久久| 亚洲视频一二区| 国产福利一区二区三区视频在线 | 国产精品一区二区在线播放| 日韩一级免费观看| 日韩影院在线观看| 91超碰这里只有精品国产| 亚洲午夜精品一区二区三区他趣| 成人avav在线| 中文在线一区二区| 丁香亚洲综合激情啪啪综合|