1、 應用程序 直接可以實現多項式的各項操作。 2、 查看原代碼VC++6.0打開“多項式\poly88.dsp”或者用記事本打開“多項式\poly88.cpp” 3、 代碼簡單說明: 本程序是一個工程文件包含了鏈式與順序兩種多項是處理方式: 鏈表存儲結構:多項式類是polynomail,節點類是polynelem; 順序存儲結構:多項是結構體是Ploynomial,節點類是term。 4、 注:在運行應用程序"多項式.exe"時,在菜單上選鏈式存儲與順序存儲的系數和指數的輸入的 順序是不同的,請根據提示輸入系數與指數。 5、ADT在文件夾“多項式”里
上傳時間: 2015-05-18
上傳用戶:hongmo
將大數看作一個n進制數組,對于目前的32位系統而言n可以取值為2的32次方,即0x10000000, 假如將一個1024位的大數轉化成0x10000000進制,它就變成了32位,而每一位的取值范圍就不是0-1 或0-9,而是0-0xffffffff。我們正好可以用一個無符號長整數來表示這一數值。所以1024位的大數 就是一個有32個元素的unsigned long數組。而且0x100000000進制的數組排列與2進制流對于計算機 來說,實際上是一回事,但是我們完全可以針對unsigned long數組進行“豎式計算”,而循環規模 被降低到了32次之內,并且算法很容易理解。
上傳時間: 2015-05-29
上傳用戶:xsnjzljj
最小二乘法曲線擬合 作者:佚名 文章來源:不詳 點擊數:164 更新時間:2006-1-4 【字體:小 大】【發表評論】【加入收藏】【告訴好友】【打印此文】【關閉窗口】 //最小二乘法曲線擬合 typedef CArray<double,double>CDoubleArray BOOL CalculateCurveParameter(CDoubleArray *X,CDoubleArray *Y,long M,long N,CDoubleArray *A) { //X,Y -- X,Y兩軸的坐標 //M -- 結果變量組數 //N -- 采樣數目 //A -- 結果參數 文章錄入:admin 責任編輯:admin
上傳時間: 2014-01-24
上傳用戶:liansi
用CORDIC算法實現的2參數反正切。結果的精度與CORDIC的迭代次數有關,迭代次數越多,精度越高。本例子中精確到小數點后4位。要提高迭代次數,還得把增加1QN格式的位數,比如32位long,程序多處需要修改,有需要的話自己改吧。
上傳時間: 2014-05-28
上傳用戶:大融融rr
函數模板T max(T a, T b, T c),使之實現對任何類型數,能從三個數中求出最大數返回。設計各種類型數據(char,short,long,float,double)調用此函數模板。
上傳時間: 2015-07-07
上傳用戶:時代電子小智
Software Engineering is a discipline applied by teams to produce high-quality, large-scale, cost-effective software that satisfies the users’ needs, and can be maintained over time Software Development is a weaker term where standards, tools, processes, etc. may not be applied
標簽: high-quality Engineering large-scale discipline
上傳時間: 2014-01-09
上傳用戶:bcjtao
All 3G and GSM specifications have a 3GPP specification number consisting of 4 or 5 digits. (e.g. 09.02 or 29.002). The first two digits define the series as listed in the table below. They are followed by 2 further digits for the 01 to 13 series or 3 further digits for the 21 to 55 series. The term "3G" means a 3GPP system using a UTRAN radio access network the term "GSM" means a 3GPP system using a GERAN radio access network. (Thus "GSM" includes GPRS and EDGE features.)
標簽: e.g. specifications specification consisting
上傳時間: 2015-08-11
上傳用戶:yoleeson
"Web Services is the clarion call of the computer software industry at present. How should we understand the term? Because of the diversity of interpretation in the industry, the easiest way is to be general and assert that Web Services means XML in motion. If the network is the computer, Web Services comprise the software that runs on it."
標簽: the Services computer industry
上傳時間: 2015-08-11
上傳用戶:dyctj
this m file can Find a (near) optimal solution to the Traveling Salesman Problem (TSP) by setting up a Genetic Algorithm (GA) to search for the shortest path (least distance needed to travel to each city exactly once) Notes: 1. Input error checking included 2. Inputs can be specified in any order, so long as the parameter pairs are specified as a parameter , value
標簽: Traveling Salesman solution Problem
上傳時間: 2013-12-22
上傳用戶:ruixue198909
Visual Basic 6.0可以通過調用API函數格式化一個磁盤,無論是軟盤還是硬盤。 打開一個新的項目(工程1) ,如果你沒有更改過缺省模式,那么Visual Basic 6.0會自動添加一個form1文件,在form1上添加一個命令控件,將下面的代碼拷入。 Option Explicit Private Declare Function SHFormatDrive Lib"shell32"( ByVal Hend AS Long,ByVal Drive AS Long,ByVal FormatID AS Long,ByVal Options AS Long) as Long Private Sub FormatDisk(intDrive as integer,blnQuickFormat as Boolean) dim lngReturn As Long if (blnQuickFormat) then lngReturn= SHFormatDrive(0,intDrive,0&,1&) else lngReturn= SHFormatDrive(0,intDrive,0&,0&) end if end Sub Private Sub Command1_Click() call FormatDisk(0,True) End Sub 運行此程序。 注意FormatDisk函數的第一個變量很重要,他的值是0,1,2時代表格式化的分別是:A、B、C盤。
上傳時間: 2015-10-05
上傳用戶:kytqcool