原題:編寫一個子程序NewTon(float x0,float eps,float x1)。它的功能是用牛頓迭代法求f(x)=x*x*x-2x*x+4x+1在x=0附近的一個實(shí)根。若迭代成功,則返回費(fèi)0值;否則,返回0。
上傳時間: 2015-03-23
上傳用戶:lili123
除了上面提到的壓縮方法,你也可以調(diào)用VB的工具M(jìn)akeCab.exe(在VB5\setupkit\kitfil32或VB98\Wizards\PDWizard目錄下)生成.cab文件。先構(gòu)造一個Directive 文件(*.ddf),然后使用Shell命令調(diào)用MakeCAB /f excel.ddf就可以生成*.cab文件。關(guān)于Directive 文件的格式,可以參考MSDN Library中的《MakeCAB: A Compression and Disk Layout Tool》一文。
標(biāo)簽:
上傳時間: 2015-03-23
上傳用戶:zhengjian
本程序所求解的方程為x-cosx=0的解,程序?qū)(x)定義為子函數(shù)過程f(x),并把初值賦給相應(yīng)變量后,即可使用xj(a,b,n)調(diào)用快帶弦截法子函數(shù)。
上傳時間: 2013-12-28
上傳用戶:星仔
This a Bayesian ICA algorithm for the linear instantaneous mixing model with additive Gaussian noise [1]. The inference problem is solved by ML-II, i.e. the sources are found by integration over the source posterior and the noise covariance and mixing matrix are found by maximization of the marginal likelihood [1]. The sufficient statistics are estimated by either variational mean field theory with the linear response correction or by adaptive TAP mean field theory [2,3]. The mean field equations are solved by a belief propagation method [4] or sequential iteration. The computational complexity is N M^3, where N is the number of time samples and M the number of sources.
標(biāo)簽: instantaneous algorithm Bayesian Gaussian
上傳時間: 2013-12-19
上傳用戶:jjj0202
設(shè)計目的 加深對語法分析程序的任務(wù)及其工作原理的理解;掌握語法分析程序的實(shí)現(xiàn)方法;掌握簡單語言的狀態(tài)轉(zhuǎn)換圖表示形式極其識別程序的構(gòu)造。 設(shè)計任務(wù) 編寫對簡單語言進(jìn)行語法分析的詞法分析程序。并對輸入串for I=1to 20 do {x:=x+2 y:=y*(2+c) }} 進(jìn)行語法分析,要求如下: 1。識別其中的關(guān)鍵字,標(biāo)識符,常數(shù),運(yùn)算符和界符。2,對其中的數(shù)字注明其值和類型 3。將識別的結(jié)果填入表中并輸出。
上傳時間: 2015-03-30
上傳用戶:lili123
模擬退火算法 模擬退火算法(Simulated Annealing,簡稱SA算法)是模擬加熱熔化的金屬的退火過程,來尋找全局最優(yōu)解的有效方法之一。 模擬退火的基本思想和步驟如下: 設(shè)S={s1,s2,…,sn}為所有可能的狀態(tài)所構(gòu)成的集合, f:S—R為非負(fù)代價函數(shù),即優(yōu)化問題抽象如下: 尋找s*∈S,使得f(s*)=min f(si) 任意si∈S (1)給定一較高初始溫度T,隨機(jī)產(chǎn)生初始狀態(tài)S (2)按一定方式,對當(dāng)前狀態(tài)作隨機(jī)擾動,產(chǎn)生一個新的狀態(tài)S’ S’=S+sign(η).δ 其中δ為給定的步長, η為[-1,1]的隨機(jī)數(shù)
標(biāo)簽: Simulated Annealing 模擬退火算法 模擬
上傳時間: 2014-01-02
上傳用戶:gengxiaochao
求解網(wǎng)絡(luò)中的最短路徑。假設(shè)某個計算機(jī)網(wǎng)絡(luò)有n個站點(diǎn),依次編號為1,2,…,n;有的站點(diǎn)之間有直接的線路連接(即這兩個站點(diǎn)之間沒有其它站點(diǎn)),有的站點(diǎn)之間沒有直接的線路連接。如果用三元組(i,j,f)來表示該網(wǎng)絡(luò)中的站點(diǎn)I和站點(diǎn)j之間有直接的線路連接且它們之間的距離為f 當(dāng)已知該網(wǎng)絡(luò)各站點(diǎn)之間的直接連接情況由m個三元組(i1,j1,f1),(i2,j2,f2),…,(im,jm,fm)確定時,要求計算出對于網(wǎng)絡(luò)中任意一個站點(diǎn)g(1≤g≤n)到其余各站點(diǎn)的最短距離。
標(biāo)簽: 網(wǎng)絡(luò) 最短路徑 站點(diǎn) 計算機(jī)網(wǎng)絡(luò)
上傳時間: 2013-12-27
上傳用戶:asdkin
算法ebook(10部算法經(jīng)典著作的合集) 算法ebook> 10部算法經(jīng)典著作的合集 chm格式 (1)Fundamentals of Data Structures by Ellis Horowitz and Sartaj Sahni (2)Data Structures, Algorithms and Program Style Using C by James F. Korsh and Leonard J. Garrett (3)Data Structures and Algorithm Analysis in C by Mark Allen Weiss (4)Data Structures: From Arrays to Priority Queues by Wayne Amsbury (5)Information Retrieval: Data Structures & Algorithms edited by William B. Frakes and Ricardo Baeza-Yates (6)Introduction to Algorithms by Thomas H. Cormen, Charles E. Leiserson, and Ronald L. Rivest (7)Practical Data Structures in C++ by Bryan Flamig (8)Reliable Data Structures in C by Thomas Plum (9)Data Structures and Algorithms Alfred V. Aho, Bell Laboratories, Murray Hill, New Jersey John E. Hopcroft, Cornell University, Ithaca, New York Jeffrey D. Ullman, Stanford University, Stanford, California (10)DDJ Algorithms and Data Structures Articles
標(biāo)簽: ebook Fundamentals Structures Ellis
上傳時間: 2015-04-04
上傳用戶:tfyt
HD7279(c語言)驅(qū)動 程序作用:測試Sage Tech.開發(fā)板(MCP300)中hd7279鍵盤顯示芯片是否能正常工作 程序功能:按下1號鍵顯示0、1、2、3,按下2號鍵顯示c、d、e、f,按下3號鍵顯示4、5 、6、7 按下4號鍵顯示8、9、a、b,按下0號鍵點(diǎn)亮4個LED燈
上傳時間: 2015-04-08
上傳用戶:xuanjie
本程序?qū)崿F(xiàn)了數(shù)理統(tǒng)計的趨勢面分析,并給出了F,t檢驗(yàn),可用作數(shù)理統(tǒng)計教材的配套計算
標(biāo)簽: 程序 數(shù)理統(tǒng)計 分
上傳時間: 2013-12-25
上傳用戶:caiiicc
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1