* 高斯列主元素消去法求解矩陣方程AX=B,其中A是N*N的矩陣,B是N*M矩陣 * 輸入: n----方陣A的行數 * a----矩陣A * m----矩陣B的列數 * b----矩陣B * 輸出: det----矩陣A的行列式值 * a----A消元后的上三角矩陣 * b----矩陣方程的解X
上傳時間: 2015-07-26
上傳用戶:xauthu
* 用拉格朗日插值法依據N個已知數據點即使函數值 * 輸入: n--已知數據點的個數N-1 * x--已知數據點第一坐標的N維列向量 * y--已知數據點第二坐標的N維列向量 * xx-插值點第一坐標 * 輸出: 函數返回值所求插值點的第二坐標
上傳時間: 2013-11-28
上傳用戶:fhzm5658
* 本算法用最小二乘法依據指定的M個基函數及N個已知數據進行曲線擬和 * 輸入: m--已知數據點的個數M * f--M維基函數向量 * n--已知數據點的個數N-1 * x--已知數據點第一坐標的N維列向量 * y--已知數據點第二坐標的N維列向量 * a--無用 * 輸出: 函數返回值為曲線擬和的均方誤差 * a為用基函數進行曲線擬和的系數, * 即a[0]f[0]+a[1]f[1]+...+a[M]f[M].
上傳時間: 2015-07-26
上傳用戶:
* 用埃特金插值法依據N個已知數據點計算函數值 * 輸入: n--已知數據點的個數N-1 * x--已知數據點第一坐標的N維列向量 * y--已知數據點第二坐標的N維列向量 * xx-插值點第一坐標 * eps--求解精度 * 輸出: 函數返回值所求插值點的第二坐標
上傳時間: 2014-01-20
上傳用戶:maizezhen
* 用牛頓插值法依據N個已知數據點即使函數值 * 輸入: n--已知數據點的個數N-1 * x--已知數據點第一坐標的N維列向量 * y--已知數據點第二坐標的N維列向量 * xx-插值點第一坐標 * 輸出: 函數返回值所求插值點的第二坐標
上傳時間: 2014-01-09
上傳用戶:亞亞娟娟123
Scan image DSP process Sca n image DSP process Sca n image DSP process Sca n image DSP process
上傳時間: 2013-12-18
上傳用戶:lnnn30
n個元素{1,2,…,n}有n!個不同的排列。將這n!個排列按字典序排列,并編號為0,1,…,n!-1。每個排列的編號為其字典序值。 給定n以及n個元素{1,2,…,n}的一個排列,計算出這個排列的字典序值,以及按字典序排列的下一個排列。
標簽: 元素
上傳時間: 2013-12-08
上傳用戶:hwl453472107
程序最優存儲問題 « 問題描述: 設有n 個程序{1,2,…, n }要存放在長度為L的磁帶上。程序i存放在磁帶上的長度是i l ,
上傳時間: 2015-09-26
上傳用戶:xg262122
寫入N字節數據程序 把N個字節數據寫入起始地址為ADDR的EEPROM內
上傳時間: 2013-12-29
上傳用戶:zhanditian
American Gladiator,You are consulting for a game show in which n contestants are pitted against n gladiators in order to see which contestants are the best. The game show aims to rank the contestants in order of strength this is done via a series of 1-on-1 matches between contestants and gladiators. If the contestant is stronger than the gladiator, then the contestant wins the match otherwise, the gladiator wins the match. If the contestant and gladiator have equal strength, then they are “perfect equals” and a tie is declared. We assume that each contestant is the perfect equal of exactly one gladiator, and each gladiator is the perfect equal of exactly one contestant. However, as the gladiators sometimes change from one show to another, we do not know the ordering of strength among the gladiators.
標簽: contestants consulting Gladiator are
上傳時間: 2013-12-18
上傳用戶:windwolf2000