The code performs a number (ITERS) of iterations of the Bailey s 6-step FFT algorithm (following the ideas in the CMU Task parallel suite). 1.- Generates an input signal vector (dgen) with size n=n1xn2 stored in row major order In this code the size of the input signal is NN=NxN (n=NN, n1=n2=N) 2.- Transpose (tpose) A to have it stored in column major order 3.- Perform independent FFTs on the rows (cffts) 4.- Scale each element of the resulting array by a factor of w[n]**(p*q) 5.- Transpose (tpose) to prepair it for the next step 6.- Perform independent FFTs on the rows (cffts) 7.- Transpose the resulting matrix The code requires nested Parallelism.
標(biāo)簽: iterations performs Bailey number
上傳時(shí)間: 2014-01-05
上傳用戶:libenshu01
生成Trick文件工具 1.Open command line 2.input tricktest Usage: TrickTest -f -o -i -f source mpeg2 file to trick -o trick output directory -i output file id -m max coding error, default 0 -b max bitrate for trick generate, default 0 mean no limit -s trick buffer block size, must be n*188 -l log file, default c:\tricktest.log example: tricktest -f 黑鷹行動(dòng).mpg -o c:\temp -i A -m 1000 -b 3750000 soure file: 黑鷹行動(dòng).mpg output directory: c:\temp filename: 000000A,000000A.ff,000000A.fr,000000A.vvx max coding error: 1000 trick generation speed: 3750000 bps a
標(biāo)簽: TrickTest tricktest command source
上傳時(shí)間: 2014-01-23
上傳用戶:水口鴻勝電器
本程序又是一個(gè)單片機(jī)的簡(jiǎn)單例程,含電路圖及C程序,可參考?。?/p>
上傳時(shí)間: 2017-06-26
上傳用戶:kytqcool
Kullanı lan bazı matlab bilgileri Matlabda kodlar mfile lara yazı lı p kaydedilebilir. Ü st menüden, file, new, mfile. Command windowa yazdı kları nı zı kaydedemezsiniz. Yazdı ğ ı nı z kodu ç alı ş tı rabilmeniz iç in ç alı ş tı ğ ı nı z current directory nin altı na kaydetmelisiniz. Current directory i dosyanı n bulunduğ u yere de gö türebilirsiniz
標(biāo)簽: 305 bilgileri kaydedile Matlabda
上傳時(shí)間: 2014-01-06
上傳用戶:miaochun888
OFDM程序,這么安排矩陣的目的是為了構(gòu)造共軛對(duì)稱矩陣 共軛對(duì)稱矩陣的特點(diǎn)是 在ifft/fft的矢量上 N點(diǎn)的矢量 在0,N/2點(diǎn)必須是實(shí)數(shù) 一般選為0 1至N/2點(diǎn) 與 (N/2)+1至N-1點(diǎn)關(guān)于N/2共軛對(duì)稱
上傳時(shí)間: 2014-02-05
上傳用戶:woshiayin
任務(wù):一堆猴子都有編號(hào),編號(hào)是1,2,3 ...m ,這群猴子(m個(gè))按照1-m的順序圍坐一圈,從第1開始數(shù),每數(shù)到第N個(gè),該猴子就要離開此圈,這樣依次下來,直到圈中只剩下最后一只猴子,則該猴子為大王。 功能:輸入數(shù)據(jù):輸入m,n(m,n 為整數(shù)且n<m) 輸出形式:中文提示按照m個(gè)猴子,數(shù)n 個(gè)數(shù)的方法,輸出為大王的猴子是幾號(hào) ,建立一個(gè)函數(shù)來實(shí)現(xiàn)此功能
標(biāo)簽:
上傳時(shí)間: 2014-01-25
上傳用戶:athjac
#include <iostream> using namespace std; int main(){ int t; cin>>t; while(t--){ long long n; cin>>n; if(n%2==1) cout<<(n*n-1)/4<<endl; else if (n%4==0) cout <<(n*n)/4-1<<endl; else{ if(n==2) cout<<1<<endl; else{ long long k=n/2-1; cout <<k*k+2*k-3<<endl; } } } return 0; }
標(biāo)簽: 天津大學(xué)acm4022 代碼
上傳時(shí)間: 2015-04-20
上傳用戶:nr607
題目描述 蛇行矩陣 Problem 蛇形矩陣是由1開始的自然數(shù)依次排列成的一個(gè)矩陣上三角形。 輸入 Input 本題有多組數(shù)據(jù),每組數(shù)據(jù)由一個(gè)正整數(shù)N組成。(N不大于100) 輸出 Output 對(duì)于每一組數(shù)據(jù),輸出一個(gè)N行的蛇形矩陣。兩組輸出之間不要額外的空行。 矩陣三角中同一行的數(shù)字用一個(gè)空格分開。行尾不要多余的空格。 樣例輸入 5 樣例輸出 1 3 6 10 15 2 5 9 14 4 8 13 7 12 11
標(biāo)簽: 數(shù)字規(guī)律 數(shù)組 三角形
上傳時(shí)間: 2016-02-29
上傳用戶:lwol2007
#include <iostream> using namespace std; class Student { public: Student(int, int); int num; int grade; }; Student::Student(int n, int g) { num = n; grade = g; } int maxGradeIndex(Student* s) { int maxGrade, index = 0, i = 0; maxGrade = s[0].grade; for (i = 0; i<5; i++) { if (s[i].grade > maxGrade) { maxGrade = s[i].grade; index = i; } } return index; } int main() { Student a[5] = { Student(1, 86), Student(2, 60), Student(3, 72), Student(4, 95), Student(5, 66) }; int maxGradeStNum = maxGradeIndex(a); cout << "成績(jī)最好學(xué)生的學(xué)號(hào)是:" << a[maxGradeStNum].num << endl; cout << "成績(jī)最好學(xué)生的成績(jī)是:" << a[maxGradeStNum].grade << endl; getchar(); return 0; }
上傳時(shí)間: 2016-04-23
上傳用戶:burt1025
頻域抽取2^n個(gè)點(diǎn)fft的簡(jiǎn)單C語(yǔ)言基_2算法實(shí)現(xiàn)
上傳時(shí)間: 2016-05-23
上傳用戶:382076215
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1