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

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

Set<b>STRING</b>

  • 離散實(shí)驗(yàn) 一個包的傳遞 用warshall

     實(shí)驗(yàn)源代碼 //Warshall.cpp #include<stdio.h> void warshall(int k,int n) { int i , j, t; int temp[20][20]; for(int a=0;a<k;a++) { printf("請輸入矩陣第%d 行元素:",a); for(int b=0;b<n;b++) { scanf ("%d",&temp[a][b]); } } for(i=0;i<k;i++){ for( j=0;j<k;j++){ if(temp[ j][i]==1) { for(t=0;t<n;t++) { temp[ j][t]=temp[i][t]||temp[ j][t]; } } } } printf("可傳遞閉包關(guān)系矩陣是:\n"); for(i=0;i<k;i++) { for( j=0;j<n;j++) { printf("%d", temp[i][ j]); } printf("\n"); } } void main() { printf("利用 Warshall 算法求二元關(guān)系的可傳遞閉包\n"); void warshall(int,int); int k , n; printf("請輸入矩陣的行數(shù) i: "); scanf("%d",&k); 四川大學(xué)實(shí)驗(yàn)報告 printf("請輸入矩陣的列數(shù) j: "); scanf("%d",&n); warshall(k,n); } 

    標(biāo)簽: warshall 離散 實(shí)驗(yàn)

    上傳時間: 2016-06-27

    上傳用戶:梁雪文以

  • 道理特分解法

    #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<<"請輸入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<<"請輸入b:"<<endl; for(int j=0;j<size;j++){ cout<<"第"<<j+1<<"個:"<<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<<"計算U得:"<<endl; U.Disp(); cout<<"計算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)簽: 道理特分解法

    上傳時間: 2018-05-20

    上傳用戶:Aa123456789

  • 安森美車規(guī)級1080P圖像傳感器AR0231手冊

    AR0231AT7C00XUEA0-DRBR(RGB濾光)安森美半導(dǎo)體推出采用突破性減少LED閃爍 (LFM)技術(shù)的新的230萬像素CMOS圖像傳感器樣品AR0231AT,為汽車先進(jìn)駕駛輔助系統(tǒng)(ADAS)應(yīng)用確立了一個新基準(zhǔn)。新器件能捕獲1080p高動態(tài)范圍(HDR)視頻,還具備支持汽車安全完整性等級B(ASIL B)的特性。LFM技術(shù)(專利申請中)消除交通信號燈和汽車LED照明的高頻LED閃爍,令交通信號閱讀算法能于所有光照條件下工作。AR0231AT具有1/2.7英寸(6.82 mm)光學(xué)格式和1928(水平) x 1208(垂直)有源像素陣列。它采用最新的3.0微米背照式(BSI)像素及安森美半導(dǎo)體的DR-Pix?技術(shù),提供雙轉(zhuǎn)換增益以在所有光照條件下提升性能。它以線性、HDR或LFM模式捕獲圖像,并提供模式間的幀到幀情境切換。 AR0231AT提供達(dá)4重曝光的HDR,以出色的噪聲性能捕獲超過120dB的動態(tài)范圍。AR0231AT能同步支持多個攝相機(jī),以易于在汽車應(yīng)用中實(shí)現(xiàn)多個傳感器節(jié)點(diǎn),和通過一個簡單的雙線串行接口實(shí)現(xiàn)用戶可編程性。它還有多個數(shù)據(jù)接口,包括MIPI(移動產(chǎn)業(yè)處理器接口)、并行和HiSPi(高速串行像素接口)。其它關(guān)鍵特性還包括可選自動化或用戶控制的黑電平控制,支持?jǐn)U頻時鐘輸入和提供多色濾波陣列選擇。封裝和現(xiàn)狀:AR0231AT采用11 mm x 10 mm iBGA-121封裝,現(xiàn)提供工程樣品。工作溫度范圍為-40℃至105℃(環(huán)境溫度),將完全通過AEC-Q100認(rèn)證。

    標(biāo)簽: 圖像傳感器

    上傳時間: 2022-06-27

    上傳用戶:XuVshu

  • 基于單片機(jī)的數(shù)字化B超鍵盤設(shè)計

    針對目前使用的RS232接口數(shù)字化B超鍵盤存在PC主機(jī)啟動時不能設(shè)置BIOS,提出一種PS2鍵盤的設(shè)計方法。基于W78E052D單片機(jī),采用8通道串行A/D轉(zhuǎn)換器設(shè)計了8個TGC電位器信息采集電路,電位器位置信息以鍵盤掃描碼序列形式發(fā)送,正交編碼器信號通過XC9536XL轉(zhuǎn)換為單片機(jī)可接收的中斷信號,軟件接收到中斷信息后等效處理成按鍵。結(jié)果表明,在滿足開機(jī)可設(shè)置BIOS同時,又可實(shí)現(xiàn)超聲特有功能,不需要專門設(shè)計驅(qū)動程序,接口簡單,成本低。 Abstract:  Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the MCU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.    

    標(biāo)簽: 單片機(jī) B超 數(shù)字化 鍵盤設(shè)計

    上傳時間: 2013-10-10

    上傳用戶:asdfasdfd

  • Verilog HDL: Magnitude For a vector (a,b), the magnitude representation is the following: A c

    Verilog HDL: Magnitude For a vector (a,b), the magnitude representation is the following: A common approach to implementing these arithmetic functions is to use the Coordinate Rotation Digital Computer (CORDIC) algorithm. The CORDIC algorithm calculates the trigonometric functions of sine, cosine, magnitude, and phase using an iterative process. It is made up of a series of micro-rotations of the vector by a set of predetermined constants, which are powers of two. Using binary arithmetic, this algorithm essentially replaces multipliers with shift and add operations. In a Stratix™ device, it is possible to calculate some of these arithmetic functions directly, without having to implement the CORDIC algorithm.

    標(biāo)簽: representation Magnitude the magnitude

    上傳時間: 2013-12-24

    上傳用戶:金宜

  • --文件名:mine4.vhd。 --功能:實(shí)現(xiàn)4種常見波形正弦、三角、鋸齒、方波(A、B)的頻率、幅度可控輸出(方波 --A的占空比也是可控的)

    --文件名:mine4.vhd。 --功能:實(shí)現(xiàn)4種常見波形正弦、三角、鋸齒、方波(A、B)的頻率、幅度可控輸出(方波 --A的占空比也是可控的),可以存儲任意波形特征數(shù)據(jù)并能重現(xiàn)該波形,還可完成 --各種波形的線形疊加輸出。 --說明: SSS(前三位)和SW信號控制4種常見波形種哪種波形輸出。4種波形的頻率、 --幅度(基準(zhǔn)幅度A)的調(diào)節(jié)均是通過up、down、set按鍵和4個BCD碼置入器以及一 --個置入檔位控制信號(ss)完成的(AMP的調(diào)節(jié)范圍是0~5V,調(diào)節(jié)量階為1/51V)。 --其中方波的幅度還可通過u0、d0調(diào)節(jié)輸出數(shù)據(jù)的歸一化幅值(AMP0)進(jìn)行進(jìn)一步 --細(xì)調(diào)(調(diào)節(jié)量階為1/(51*255)V)。方波A的占空比通過zu、zp按鍵調(diào)節(jié)(調(diào)節(jié) --量階1/64*T)。系統(tǒng)采用內(nèi)部存儲器——RAM實(shí)現(xiàn)任意輸入波形的存儲,程序只支 --持鍵盤式波形特征參數(shù)置入存儲,posting 為進(jìn)入任意波置入(set)、清除(clr)狀態(tài) --控制信號,SSS控制存儲波形的輸出。P180為預(yù)留端口,

    標(biāo)簽: mine vhd 方波 波形

    上傳時間: 2017-02-09

    上傳用戶:z1191176801

  • 給你A,B兩個字符串

    給你A,B兩個字符串,檢查B串是否是A串的子串,類似于Java的String.indexOf("")。找到匹配失敗時的最合適的回退位置,而不是簡單的回退到子串的第一個字符(常規(guī)的枚舉查找方式,是簡單的回退到子串的第一個字符,KMP算法的性能分析Java實(shí)現(xiàn)實(shí)例)*此僅供大家參考、交流,希望對大家有所幫助!

    標(biāo)簽: 字符串

    上傳時間: 2017-05-20

    上傳用戶:498732662

  • 21世紀(jì)大學(xué)新型參考教材系列 集成電路B 荒井

    21世紀(jì)大學(xué)新型參考教材系列 集成電路B 荒井

    標(biāo)簽: 大學(xué) 教材 集成電路

    上傳時間: 2013-04-15

    上傳用戶:eeworm

  • 家電維修(最基礎(chǔ)的教程B)1-20.Torrent

    家電維修(最基礎(chǔ)的教程B)1-20.Torrent

    標(biāo)簽: Torrent 20 家電維修 教程

    上傳時間: 2013-06-10

    上傳用戶:eeworm

  • jk-b交通信號控制機(jī)原理圖

    jk-b交通信號控制機(jī)原理圖

    標(biāo)簽: jk-b 交通信號 控制機(jī) 原理圖

    上傳時間: 2013-07-13

    上傳用戶:eeworm

主站蜘蛛池模板: 宜丰县| 专栏| 儋州市| 平湖市| 西林县| 津市市| 合山市| 罗江县| 嵩明县| 精河县| 射洪县| 信阳市| 通州区| 永丰县| 那坡县| 栖霞市| 龙门县| 阜康市| 木兰县| 洪泽县| 罗源县| 南部县| 定远县| 迭部县| 梅河口市| 元江| 新民市| 滦平县| 墨江| 河东区| 贵港市| 平山县| 清丰县| 正阳县| 临海市| 曲周县| 乌海市| 舞阳县| 墨江| 汤原县| 天镇县|