鍵盤(pán)任意輸入一個(gè)稀疏矩陣A(m*n),采用三元組存儲(chǔ)方法求其轉(zhuǎn)置矩陣B(n*m),并用快速轉(zhuǎn)置算法實(shí)現(xiàn)該操作。
上傳時(shí)間: 2013-12-08
上傳用戶(hù):lingzhichao
design LP,HP,B S digital Butterworth and Chebyshev filter. All array has been specified internally,so user only need to input f1,f2,f3,f4,fs(in hz), alpha1,alpha2(in db) and iband (to specify the type of to design). This program output hk(z)=bk(z)/ak(z),k=1,2,..., ksection and the freq.
標(biāo)簽: Butterworth internally Chebyshev specified
上傳時(shí)間: 2015-11-08
上傳用戶(hù):253189838
[輸入] 圖的頂點(diǎn)個(gè)數(shù)N,圖中頂點(diǎn)之間的關(guān)系及起點(diǎn)A和終點(diǎn)B [輸出] 若A到B無(wú)路徑,則輸出“There is no path” 否則輸出A到B路徑上個(gè)頂點(diǎn) [存儲(chǔ)結(jié)構(gòu)] 圖采用鄰接矩陣的方式存儲(chǔ)。 [算法的基本思想] 采用廣度優(yōu)先搜索的方法,從頂點(diǎn)A開(kāi)始,依次訪(fǎng)問(wèn)與A鄰接的頂點(diǎn)VA1,VA2,...,VAK, 訪(fǎng)問(wèn)遍之后,若沒(méi)有訪(fǎng)問(wèn)B,則繼續(xù)訪(fǎng)問(wèn)與VA1鄰接的頂點(diǎn)VA11,VA12,...,VA1M,再訪(fǎng)問(wèn)與VA2鄰接頂點(diǎn)...,如此下去,直至找到B,最先到達(dá)B點(diǎn)的路徑,一定是邊數(shù)最少的路徑。實(shí)現(xiàn)時(shí)采用隊(duì)列記錄被訪(fǎng)問(wèn)過(guò)的頂點(diǎn)。每次訪(fǎng)問(wèn)與隊(duì)頭頂點(diǎn)相鄰接的頂點(diǎn),然后將隊(duì)頭頂點(diǎn)從隊(duì)列中刪去。若隊(duì)空,則說(shuō)明到不存在通路。在訪(fǎng)問(wèn)頂點(diǎn)過(guò)程中,每次把當(dāng)前頂點(diǎn)的序號(hào)作為與其鄰接的未訪(fǎng)問(wèn)的頂點(diǎn)的前驅(qū)頂點(diǎn)記錄下來(lái),以便輸出時(shí)回溯。 #include<stdio.h> int number //隊(duì)列類(lèi)型 typedef struct{ int q[20]
標(biāo)簽: 輸入
上傳時(shí)間: 2015-11-16
上傳用戶(hù):ma1301115706
JSP中文網(wǎng)新聞發(fā)布系統(tǒng)是由jsp中文網(wǎng)為了方便管理自己的相關(guān)技術(shù)文章而編寫(xiě)的b/s模式的集新聞發(fā)布、管理與一體的新聞發(fā)布系統(tǒng)。
標(biāo)簽: JSP jsp 新聞發(fā)布系統(tǒng) 新聞
上傳時(shí)間: 2014-01-22
上傳用戶(hù):13215175592
B-spline曲線(xiàn)是包含Bezier曲線(xiàn)的通用數(shù)學(xué)表示法。
上傳時(shí)間: 2015-11-22
上傳用戶(hù):whenfly
About: hamsterdb is a database engine written in ANSI C. It supports a B+Tree index structure, uses memory mapped I/O (if available), supports cursors, and can create in-memory databases. Release focus: Major feature enhancements Changes: This release comes with many changes and new features. It can manage multiple databases in one file. A new flag (HAM_LOCK_EXCLUSIVE) places an exclusive lock on the file. hamsterdb was ported to Windows CE, and the Solution file for Visual Studio 2005 now supports builds for x64. Several minor bugs were fixed, performance was improved, and small API changes occurred. Pre-built libraries for Windows (32-bit and 64-bit) are available for download. Author: cruppstahl
標(biāo)簽: C. hamsterdb structure database
上傳時(shí)間: 2013-12-11
上傳用戶(hù):LouieWu
文法如下: (1)S->aAcBe (2)A->b (3)A->Ab (4)B->d 關(guān)於lr0的語(yǔ)法分析
上傳時(shí)間: 2015-11-22
上傳用戶(hù):thinode
一、 一元三次回歸方程 CubicMultinomialRegress.cs 方程模型為Y=a*X(3)+b*X(2)+c*X(1)+d public override double[] buildFormula() 得到系數(shù)數(shù)組,存放順序與模型系數(shù)相反,即該數(shù)組中系數(shù)的值依次是d,c,b,a。 以后所述所有模型的系數(shù)存放均與此相同(多元線(xiàn)性回歸方程除外)。 public override double forecast(double x) 預(yù)測(cè)函數(shù),根據(jù)模型得到預(yù)測(cè)結(jié)果 public override double computeR2() 計(jì)算相關(guān)系數(shù)(決定系數(shù)),系數(shù)越接近1,數(shù)據(jù)越滿(mǎn)足該模型。
標(biāo)簽: CubicMultinomialRegress override public double
上傳時(shí)間: 2015-11-25
上傳用戶(hù):13215175592
雙曲線(xiàn)回歸方程 HyperbolaRegress.cs 注意!該模型要求a與b的值要大于0!使用該模型時(shí)應(yīng)注意驗(yàn)證這個(gè)限制條件。我在實(shí)現(xiàn)模型時(shí)未加入任何出錯(cuò)流程控制。X不能為0。 方程模型為 public override double[] buildFormula() 得到系數(shù)數(shù)組,存放順序與模型系數(shù)相反,即該數(shù)組中系數(shù)的值依次是b,a。 public override double forecast(double x) 預(yù)測(cè)函數(shù),根據(jù)模型得到預(yù)測(cè)結(jié)果。 public override double computeR2()
標(biāo)簽: HyperbolaRegress 模型 方程 cs
上傳時(shí)間: 2014-11-30
上傳用戶(hù):youke111
對(duì)數(shù)回歸方程 LogarithmRegress.cs 方程模型為 Y=a*LnX+b public override double[] buildFormula() 得到系數(shù)數(shù)組,存放順序與模型系數(shù)相反,即該數(shù)組中系數(shù)的值依次是b,a。 public override double forecast(double x) 預(yù)測(cè)函數(shù),根據(jù)模型得到預(yù)測(cè)結(jié)果。 public override double computeR2() 計(jì)算相關(guān)系數(shù)(決定系數(shù)),系數(shù)越接近1,數(shù)據(jù)越滿(mǎn)足該模型。
標(biāo)簽: LogarithmRegress buildFormula override public
上傳時(shí)間: 2014-01-23
上傳用戶(hù):330402686
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1