用遞規(guī)子程序的方法實(shí)現(xiàn)HANOI塔問(wèn)題.子程序模塊個(gè)數(shù)不限. 要求: 盤子個(gè)數(shù)可以輸入,第一個(gè)塔為A,第二個(gè)塔為B,第三個(gè)塔 的名稱為C.打印出移動(dòng)過(guò)程.
上傳時(shí)間: 2013-12-17
上傳用戶:Yukiseop
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
上傳時(shí)間: 2013-12-24
上傳用戶:金宜
1.大型稀疏線性方程組的求解 A*X=b 。 2. 一維數(shù)組冒泡法排序算法 4.矩陣求逆 5. 改進(jìn)的牛頓算法——弦割法
上傳時(shí)間: 2015-10-29
上傳用戶:asddsd
一個(gè)遞歸下降語(yǔ)法分析器。 測(cè)試數(shù)據(jù)為 i a + nul ( nul i b * nul i c ) nul # nul
標(biāo)簽: nul 遞歸 語(yǔ)法分析器 測(cè)試數(shù)據(jù)
上傳時(shí)間: 2015-11-02
上傳用戶:qweqweqwe
變量和相等問(wèn)題的設(shè)計(jì)和實(shí)現(xiàn)將a、b、c、d、e、f這6個(gè)變量排成如圖所示的 三角形,這6個(gè)變量分別取 1——6的整數(shù),且均不相同。求使三角形三條邊上的變量之和相等的全部解,如 3 6 2 1 4 5 為一個(gè)解。 程序引入變量a,b,c,d,e,f,并讓它們分別取1——6的整數(shù),在它們互不相等的 條件下, 測(cè)試由它們排成如圖所示的三角形三條邊上的變量之和是否相等,如相等即為一種滿足要求的排列,把它們輸出。當(dāng)這些變量取盡所有的組合后,程序就可得到全部可能的解。
上傳時(shí)間: 2015-11-04
上傳用戶:GavinNeko
中序轉(zhuǎn)后序, 適用于公式運(yùn)算及相關(guān)轉(zhuǎn)換 如A=B+C
上傳時(shí)間: 2013-11-27
上傳用戶:皇族傳媒
// 帶有列主元的高斯消元法 // 功能: 求解線性方程組 Ax = b // 參數(shù): A - 指向n*n系數(shù)矩陣的指針 // b - 常數(shù)向量的指針 // n - 方程組的維數(shù) // 返回值:0 - 如果成功。線性方程組的解保存在 b 中 // 1 - 求解失敗
上傳時(shí)間: 2013-12-18
上傳用戶:xcy122677
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
上傳用戶:LouieWu
文法如下: (1)S->aAcBe (2)A->b (3)A->Ab (4)B->d 關(guān)於lr0的語(yǔ)法分析
上傳時(shí)間: 2015-11-22
上傳用戶:thinode
雙曲線回歸方程 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
上傳用戶:youke111
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1