1.入門教程文件夾 在該文件夾中包括了JavaScript的大部分知識(shí),可以幫助讀者快速入門。主要包括:JavaScript語言概述,JavaScript語言入門,JavaScript事件處理,JavaScript基于對(duì)象編程,文檔對(duì)象模型(DOM),String、Math、Array等數(shù)據(jù)對(duì)象,Window及相關(guān)頂級(jí)對(duì)象,Document對(duì)象等 。 2.視頻動(dòng)畫文件夾 在該文件夾中包括5個(gè)視頻動(dòng)畫,可以通過他們快速學(xué)習(xí)JavaScript。
標(biāo)簽: JavaScript 入門教程 分
上傳時(shí)間: 2017-09-02
上傳用戶:sdq_123
編寫一個(gè)程序,輸出基本數(shù)據(jù)類型char, short, int, long, float, double和指針類型void *, char *, short *, int *, long *, float *, double *的數(shù)據(jù)類型的長(zhǎng)度。
上傳時(shí)間: 2013-12-26
上傳用戶:pompey
The running time of quicksort can be improved in practice by taking advantage of the fast running time of insertion sort when its input is “nearly” sorted. When quicksort is called on a subarray with fewer than k elements, let it simply return without sorting the subarray. After the top-level call to quicksort returns, run insertion sort on the entire array to finish the sorting process.
標(biāo)簽: running advantage quicksort improved
上傳時(shí)間: 2013-12-01
上傳用戶:梧桐
第一章關(guān)鍵字...................................................................................................................................9 1.1,最寬恒大量的關(guān)鍵字----auto..........................................................................................11 1.2,最快的關(guān)鍵字---- register............................................................................................... 11 1.2.1,皇帝身邊的小太監(jiān)----寄存器............................................................................. 11 1.2.2,使用register 修飾符的注意點(diǎn).............................................................................11 1.3,最名不符實(shí)的關(guān)鍵字----static........................................................................................12 1.3.1,修飾變量...............................................................................................................12 1.3.2,修飾函數(shù)...............................................................................................................13 1.4,基本數(shù)據(jù)類型----short、int、long、char、float、double........................................... 13 1.4.1,數(shù)據(jù)類型與“模子”............................................................................................... 14 1.4.2,變量的命名規(guī)則...................................................................................................14 1.5,最冤枉的關(guān)鍵字----sizeof...............................................................................................18 1.5.1,常年被人誤認(rèn)為函數(shù)...........................................................................................18 1.5.2,sizeof(int)*p 表示什么意思?........................................................................18 1.4,signed、unsigned 關(guān)鍵字................................................................................................19 1.6,if、else 組合.................................................................................................................... 20 1.6.1,bool 變量與“零值”進(jìn)行比較...............................................................................20 1.6.2, float 變量與“零值”進(jìn)行比較.................................................................................21 1.6.3,指針變量與“零值”進(jìn)行比較...............................................................................21 1.6.4,else 到底與哪個(gè)if 配對(duì)呢?...............................................................................22 1.6.5,if 語句后面的分號(hào)............................................................................................... 23 1.6.6,使用if 語句的其他注意事項(xiàng).............................................................................. 24 1.7,switch、case 組合........................................................................................................... 24 1.7.1,不要拿青龍偃月刀去削蘋果.............................................................................. 24 1.7.2,case 關(guān)鍵字后面的值有什么要求嗎?.............................................................. 25 1.7.3,case 語句的排列順序...........................................................................................25 1.7.4,使用case 語句的其他注意事項(xiàng)..........................................................................27 1.8,do、while、for 關(guān)鍵字................................................................................................... 28 1.8.1,break 與continue 的區(qū)別.....................................................................................28 1.8.2,循環(huán)語句的注意點(diǎn)...............................................................................................29 1.9,goto 關(guān)鍵字......................................................................................................................30 1.10,void 關(guān)鍵字....................................................................................................................31 1.10.1,void a?............................................................................................................31 1.10,return 關(guān)鍵字................................................................................................................. 34 1.11,const 關(guān)鍵字也許該被替換為readolny....................................................................... 34 1.11.2,節(jié)省空間,避免不必要的內(nèi)存分配,同時(shí)提高效率.................................... 35 1.12,最易變的關(guān)鍵字----volatile.......................................................................................... 36 1.13,最會(huì)帶帽子的關(guān)鍵字----extern.................................................................................... 37 1.14,struct 關(guān)鍵字..................................................................................................................38
標(biāo)簽: c語言深度剖析
上傳時(shí)間: 2015-05-01
上傳用戶:cascas
Matlab 畫三維立體圖形 The aim of geom3d library is to handle and visualize 3D geometric primitives such as points, lines, planes, polyhedra... It provides low-level functions for manipulating 3D geometric primitives, making easier the development of more complex geometric algorithms. Some features of the library are: - creation of various shapes (3D points, 3D lines, planes, polyhedra...) through an intuitive syntax. Ex: createPlane(p1, p2, p3) to create a plane through 3 points. - derivation of new shapes: intersection between 2 planes, intersection between a plane and a line, between a sphere and a line... - functions for 3D polygons and polyhedra. Polyhedra use classical vertex-faces arrays (face array contain indices of vertices), and support faces with any number of vertices. Some basic models are provided (createOctaedron, createCubeoctaedron...), as well as some computation (like faceNormal or centroid) - manipulation of planar transformation. Ex.: ROT = createRotationOx(THETA); P2 = transformPoint3d(P1, ROT); - direct drawing of shapes with specialized functions. Clipping is performed automatically for infinite shapes such as lines or rays. Ex: drawPoint3d([50 50 25; 20 70 10], 'ro'); % draw some points drawLine3d([X0 Y0 Z0 DX DY DZ]); % clip and draw straight line Some functions require the geom2d package. Additional help is provided in geom3d/Contents.m file, as well as summary files like 'points3d.m' or 'lines3d.m'.
標(biāo)簽: Matlab 畫三維立體圖形
上傳時(shí)間: 2015-11-02
上傳用戶:A1321
Computes all eigenvalues and eigenvectors of a real symmetric matrix a, ! which is of size n by n, stored in a physical np by np array. ! On output, elements of a above the diagonal are destroyed. ! d returns the eigenvalues of a in its first n elements. ! v is a matrix with the same logical and physical dimensions as a, ! whose columns contain, on output, the normalized eigenvectors of a. ! nrot returns the number of Jacobi rotations that were required. ! Please notice that the eigenvalues are not ordered on output. ! If the sorting is desired, the addintioal routine "eigsrt" ! can be invoked to reorder the output of jacobi.
上傳時(shí)間: 2016-06-04
上傳用戶:1512313
This report presents a tutorial of fundamental array processing and beamforming theory relevant to microphone array speech processing. A microphone array consists of multiple microphones placed at different spatial locations. Built upon a knowledge of sound propagation principles, the multiple inputs can be manipulated to enhance or attenuate signals emanating from particular directions. In this way, microphone arrays provide a means of enhancing a desired signal in the presence of corrupting noise sources. Moreover, this enhancement is based purely on knowledge of the source location, and so microphone array techniques are applicable to a wide variety of noise types. Microphone arrays have great potential in practical applications of speech processing, due to their ability to provide both noise robustness and hands-free signal acquisition.
標(biāo)簽: Microphone array Tutorial Array Signal Processing
上傳時(shí)間: 2016-06-12
上傳用戶:halias
array 德語解釋 希望對(duì)于學(xué)習(xí)德語的朋友有所幫助
上傳時(shí)間: 2016-12-10
上傳用戶:sdwew
#include "iostream" using namespace std; class Matrix { private: double** A; //矩陣A double *b; //向量b public: int size; Matrix(int ); ~Matrix(); friend double* Dooli(Matrix& ); void Input(); void Disp(); }; Matrix::Matrix(int x) { size=x; //為向量b分配空間并初始化為0 b=new double [x]; for(int j=0;j<x;j++) b[j]=0; //為向量A分配空間并初始化為0 A=new double* [x]; for(int i=0;i<x;i++) A[i]=new double [x]; for(int m=0;m<x;m++) for(int n=0;n<x;n++) A[m][n]=0; } Matrix::~Matrix() { cout<<"正在析構(gòu)中~~~~"<<endl; delete b; for(int i=0;i<size;i++) delete A[i]; delete A; } void Matrix::Disp() { for(int i=0;i<size;i++) { for(int j=0;j<size;j++) cout<<A[i][j]<<" "; cout<<endl; } } void Matrix::Input() { cout<<"請(qǐng)輸入A:"<<endl; for(int i=0;i<size;i++) for(int j=0;j<size;j++){ cout<<"第"<<i+1<<"行"<<"第"<<j+1<<"列:"<<endl; cin>>A[i][j]; } cout<<"請(qǐng)輸入b:"<<endl; for(int j=0;j<size;j++){ cout<<"第"<<j+1<<"個(gè):"<<endl; cin>>b[j]; } } double* Dooli(Matrix& A) { double *Xn=new double [A.size]; Matrix L(A.size),U(A.size); //分別求得U,L的第一行與第一列 for(int i=0;i<A.size;i++) U.A[0][i]=A.A[0][i]; for(int j=1;j<A.size;j++) L.A[j][0]=A.A[j][0]/U.A[0][0]; //分別求得U,L的第r行,第r列 double temp1=0,temp2=0; for(int r=1;r<A.size;r++){ //U for(int i=r;i<A.size;i++){ for(int k=0;k<r-1;k++) temp1=temp1+L.A[r][k]*U.A[k][i]; U.A[r][i]=A.A[r][i]-temp1; } //L for(int i=r+1;i<A.size;i++){ for(int k=0;k<r-1;k++) temp2=temp2+L.A[i][k]*U.A[k][r]; L.A[i][r]=(A.A[i][r]-temp2)/U.A[r][r]; } } cout<<"計(jì)算U得:"<<endl; U.Disp(); cout<<"計(jì)算L的:"<<endl; L.Disp(); double *Y=new double [A.size]; Y[0]=A.b[0]; for(int i=1;i<A.size;i++ ){ double temp3=0; for(int k=0;k<i-1;k++) temp3=temp3+L.A[i][k]*Y[k]; Y[i]=A.b[i]-temp3; } Xn[A.size-1]=Y[A.size-1]/U.A[A.size-1][A.size-1]; for(int i=A.size-1;i>=0;i--){ double temp4=0; for(int k=i+1;k<A.size;k++) temp4=temp4+U.A[i][k]*Xn[k]; Xn[i]=(Y[i]-temp4)/U.A[i][i]; } return Xn; } int main() { Matrix B(4); B.Input(); double *X; X=Dooli(B); cout<<"~~~~解得:"<<endl; for(int i=0;i<B.size;i++) cout<<"X["<<i<<"]:"<<X[i]<<" "; cout<<endl<<"呵呵呵呵呵"; return 0; }
標(biāo)簽: 道理特分解法
上傳時(shí)間: 2018-05-20
上傳用戶:Aa123456789
《基于FPGA的嵌入式圖像處理系統(tǒng)設(shè)計(jì)》詳細(xì)介紹了FPGA(Field Programmable Gate Array,現(xiàn)場(chǎng)可編程門陣列)這種新型可編程電子器件的特點(diǎn),對(duì)FPGA的各種編程語言的發(fā)展歷程進(jìn)行了回顧,并針對(duì)嵌入式圖像處理系統(tǒng)的特點(diǎn)和應(yīng)用背景,詳細(xì)介紹了如何利用FPGA的硬件并行性特點(diǎn)研制開發(fā)高性能嵌入式圖像處理系統(tǒng)。作者還結(jié)合自己的經(jīng)驗(yàn),介紹了研制開發(fā)基于FPGA的嵌入式圖像處理系統(tǒng)所需要的正確思路以及許多實(shí)用性技巧,并給出了許多圖像處理算法在FPGA上的具體實(shí)現(xiàn)方法以及多個(gè)基于FPGA實(shí)現(xiàn)嵌入式圖像處理系統(tǒng)的應(yīng)用實(shí)例。 《基于FPGA的嵌入式圖像處理系統(tǒng)設(shè)計(jì)》對(duì)FPGA技術(shù)的初學(xué)者以及已經(jīng)具有比較豐富的設(shè)計(jì)經(jīng)驗(yàn)的讀者來說都有很好的參考價(jià)值,也將為從事基于FPGA的嵌入式系統(tǒng)開發(fā)和應(yīng)用的軟硬件工程師和科研人員提供一本比較系統(tǒng)、全面的學(xué)習(xí)材料。
標(biāo)簽: fpga
上傳時(shí)間: 2018-06-19
上傳用戶:gsl13
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1