高斯消元法解n階線性方程組 這里是數學方法中常用的計算程序
上傳時間: 2014-01-12
上傳用戶:
2.1將n個人圍成一圈,m為未進入游戲前的先行碼,用來淘汰第一個出 局的人,然后依次給出淘汰者的密碼,根據輸入的密碼來確定下一個淘汰是哪一個,并依次輸出被淘汰的人對應的號碼。 2.2用單向循環鏈表實現操作。
標簽: 2.1
上傳時間: 2013-12-25
上傳用戶:xuanchangri
1024位的大整數進行相乘(N方)取模,是RSA密鑰算法的一部分。其中,我對十進制,二進制的高效轉換部分非常滿意
上傳時間: 2014-07-02
上傳用戶:aix008
此為編譯原理實驗報告 學習消除文法左遞規算法,了解消除文法左遞規在語法分析中的作用 內含 設計算法 目的 源碼 等等.... 算法:消除左遞歸算法為: (1)把文法G的所有非終結符按任一種順序排列成P1,P2,…Pn 按此順序執行 (2)FOR i:=1 TO n DO BEGIN FOR j:=1 DO 把形如Pi→Pjγ的規則改寫成 Pi→δ1γ δ2γ … δkγ。其中Pj→δ1 δ2 … δk是關于Pj的所有規則; 消除關于Pi規則的直接左遞歸性 END (3)化簡由(2)所得的文法。即去除那些從開始符號出發永遠無法到達的非終結符的 產生規則。
上傳時間: 2015-03-29
上傳用戶:極客
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.
標簽: instantaneous algorithm Bayesian Gaussian
上傳時間: 2013-12-19
上傳用戶:jjj0202
enumerates Plug-n-Play RS-232 devices that are compliant with the current revision of Plug and Play External COM Device.
標簽: Plug-n-Play enumerates compliant revision
上傳時間: 2015-03-29
上傳用戶:gdgzhym
0 / 1背包問題是一個N P-復雜問題,為了解決該問題,,將用回溯算法解決該問題。既然想選擇一個對象的子集,將它們裝入背包,以便獲得的收益最大,則解空間應組織成子集樹的形狀(如圖1 6 - 2所示)。該回溯算法與4 . 2節的裝載問題很類似。首先形成一個遞歸算法,去找到可獲得的最大收益。然后,對該算法加以改進,形成代碼。改進后的代碼可找到獲得最大收益時包含在背包中的對象的集合。
標簽: 背包問題
上傳時間: 2013-11-25
上傳用戶:helmos
This software was done in part for a textbook on AI I ve written called _The Basis of AI_ (tentative title, subject to change but not if I get my way). For details see: http://www.mcs.com/~drt/basisofai.html
標簽: tentative software textbook written
上傳時間: 2015-03-30
上傳用戶:cxl274287265
一元稀疏多項式計算器[加法和乘法] 問題描述: 設計一元系數多項式計數器實現兩個多項式間的加法、減法。 基本要求: (1) 輸入并建立多項式 (2) 輸出多項式,輸出形式為整數序列:n,c1,e1,c2,e2……cn,en,其中n是多項式的項數,ci,ei分別為第i項的系數和指數。序列按指數降序排列。 (3) 多項式a和b相加,建立多項式a+b,輸出相加的多項式。 (4) 多項式a和b相減,建立多項式a-b,輸出相減的多項式。 用帶表頭結點的單鏈表存儲多項式。 測試數據: (1) (2x+5x8-3.1x11)+(7-5x8+11x9) (2) (6x-3-x+4.4x2-1.2x9)-(-6x-3+5.4x2+7.8x15) (3) (x+x2+x3)+0 (4) (x+x3)-(-x-x-3)
上傳時間: 2013-12-03
上傳用戶:561596
數值分析課程上機 拉格朗日插值多項式 插值多項式存在唯一性 在次數不超過N的多項式集合Hn中 滿足條件的插值多項式Ln(x)^Hn 是唯一存在的! 牛頓插值 三色~
上傳時間: 2014-12-06
上傳用戶:lanjisu111