亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

生產(chǎn)(chǎn)線監(jiān)(jiān)控

  • % EM algorithm for k multidimensional Gaussian mixture estimation % % Inputs: % X(n,d) - input da

    % EM algorithm for k multidimensional Gaussian mixture estimation % % Inputs: % X(n,d) - input data, n=number of observations, d=dimension of variable % k - maximum number of Gaussian components allowed % ltol - percentage of the log likelihood difference between 2 iterations ([] for none) % maxiter - maximum number of iteration allowed ([] for none) % pflag - 1 for plotting GM for 1D or 2D cases only, 0 otherwise ([] for none) % Init - structure of initial W, M, V: Init.W, Init.M, Init.V ([] for none) % % Ouputs: % W(1,k) - estimated weights of GM % M(d,k) - estimated mean vectors of GM % V(d,d,k) - estimated covariance matrices of GM % L - log likelihood of estimates %

    標簽: multidimensional estimation algorithm Gaussian

    上傳時間: 2013-12-03

    上傳用戶:我們的船長

  • 多重冪計數(shù)問題 « 問題描述: 設(shè)給定n 個變量1 x , 2 x ,…, n x 。將這些變量依序作底和各層冪

    多重冪計數(shù)問題 « 問題描述: 設(shè)給定n 個變量1 x , 2 x ,…, n x 。將這些變量依序作底和各層冪,可得n重冪如下 n x x x x  3 2 1 這里將上述n 重冪看作是不確定的,當在其中加入適當?shù)睦ㄌ柡螅拍艹蔀橐粋€確定的 n 重冪。不同的加括號方式導(dǎo)致不同的n 重冪。例如,當n=4 時,全部4重冪有5個。 « 編程任務(wù): 對n個變量計算出有多少個不同的n重冪。 « 數(shù)

    標簽: laquo 變量 多重

    上傳時間: 2014-01-24

    上傳用戶:stampede

  • 給定含有n 個元素的多重集合S = {a1, a2,., an }

    給定含有n 個元素的多重集合S = {a1, a2,., an } ,1 ≤ ai ≤ n ,1 ≤ i ≤ n ,每個元素在S 中出現(xiàn)的次數(shù)稱為該元素的重數(shù)。多重集S 中重數(shù)大于n/2 的元素稱為主元素。例如,S={2,2,4,2,1,2,5,2,2,8}。多重集S 的主元素是2,其重數(shù)為6。

    標簽: an 元素 多重

    上傳時間: 2016-08-20

    上傳用戶:chongcongying

  • (1)接收原始數(shù)據(jù): 從終端讀入字符集大小n

    (1)接收原始數(shù)據(jù): 從終端讀入字符集大小n,n個字符和n個權(quán)值,建立哈夫曼樹,存于文件hfmtree.dat中。 (2)編碼: 利用已建好的哈夫曼樹(如不在內(nèi)存,則從文件hfmtree.dat中讀入)對文件中的正文進行編碼,然后將結(jié)果存入文件codefile.dat中。 (3)譯碼: 利用已建好的哈夫曼樹將文件codefile.dat中的代碼進行譯碼,結(jié)果存入文件textfile.dat 中。 (4)打印編碼規(guī)則:即字符與編碼的一一對應(yīng)關(guān)系。 (5)打印哈夫曼樹:將已在內(nèi)存中的哈夫曼樹以直觀的方式顯示在終端上。

    標簽: 接收 字符 數(shù)據(jù)

    上傳時間: 2013-12-10

    上傳用戶:asdkin

  • 給定正整數(shù)n

    給定正整數(shù)n,計算出n個元素的集合{1,2,?,n}可以劃分為多少個不同的非空子集。 由文件input.txt提供輸入數(shù)據(jù)。文件的第1 行是元素個數(shù)n。

    標簽: 整數(shù)

    上傳時間: 2014-07-19

    上傳用戶:WMC_geophy

  • 編譯器設(shè)計入門 內(nèi)容 n Introduction n Setting Up the Tutorial n Graphical Interface n The Alarm Clock Des

    編譯器設(shè)計入門 內(nèi)容 n Introduction n Setting Up the Tutorial n Graphical Interface n The Alarm Clock Design n Setting Design Environment n Setting Design Constraints n Overview of Optimization Phases n Analysis of Report

    標簽: Introduction Graphical Interface Tutorial

    上傳時間: 2014-01-15

    上傳用戶:hzy5825468

  • 編程求N<=100時

    編程求N<=100時,N!的準確值,用C語言實現(xiàn)的算法實驗

    標簽: 100 lt 編程

    上傳時間: 2013-12-21

    上傳用戶:13188549192

  • Euler函數(shù): m = p1^r1 * p2^r2 * …… * pn^rn ai >= 1 , 1 <= i <= n Euler函數(shù): 定義:phi(m) 表示小于等

    Euler函數(shù): m = p1^r1 * p2^r2 * …… * pn^rn ai >= 1 , 1 <= i <= n Euler函數(shù): 定義:phi(m) 表示小于等于m并且與m互質(zhì)的正整數(shù)的個數(shù)。 phi(m) = p1^(r1-1)*(p1-1) * p2^(r2-1)*(p2-1) * …… * pn^(rn-1)*(pn-1) = m*(1 - 1/p1)*(1 - 1/p2)*……*(1 - 1/pn) = p1^(r1-1)*p2^(r2-1)* …… * pn^(rn-1)*phi(p1*p2*……*pn) 定理:若(a , m) = 1 則有 a^phi(m) = 1 (mod m) 即a^phi(m) - 1 整出m 在實際代碼中可以用類似素數(shù)篩法求出 for (i = 1 i < MAXN i++) phi[i] = i for (i = 2 i < MAXN i++) if (phi[i] == i) { for (j = i j < MAXN j += i) { phi[j] /= i phi[j] *= i - 1 } } 容斥原理:定義phi(p) 為比p小的與p互素的數(shù)的個數(shù) 設(shè)n的素因子有p1, p2, p3, … pk 包含p1, p2…的個數(shù)為n/p1, n/p2… 包含p1*p2, p2*p3…的個數(shù)為n/(p1*p2)… phi(n) = n - sigm_[i = 1](n/pi) + sigm_[i!=j](n/(pi*pj)) - …… +- n/(p1*p2……pk) = n*(1 - 1/p1)*(1 - 1/p2)*……*(1 - 1/pk)

    標簽: Euler lt phi 函數(shù)

    上傳時間: 2014-01-10

    上傳用戶:wkchong

  • 歐基理德輾轉(zhuǎn)相除法(之二) m與n相差太大時

    歐基理德輾轉(zhuǎn)相除法(之二) m與n相差太大時,可用(m%n)來取代(m-n),這樣的處理效率較高。以下便以此方法求出最大公因數(shù)。

    標簽: 除法

    上傳時間: 2014-01-14

    上傳用戶:llandlu

  • //建立頂級窗口 toplevel = XtVaAppInitialize[&app, "Form", NULL, 0, &argc, argv, NULL, NULL] n =

    //建立頂級窗口 toplevel = XtVaAppInitialize[&app, "Form", NULL, 0, &argc, argv, NULL, NULL] n = 0 XtSetArg[args[n], XmNwidth, 500] n++ XtSetArg[args[n], XmNheight, 500] n++ XtSetValues[toplevel, args, n] //建立主窗口 form = XmCreateForm[toplevel, "form", NULL, 0] XtManageChild[form] //建立菜單條 n = 0 XtSetArg[args[n], XmNtopAttachment, XmATTACH_FORM] n++ XtSetArg[args[n], XmNleftAttachment, XmATTACH_FORM] n++ XtSetArg[args[n], XmNrightAttachment, XmATTACH_FORM] n++ menubar = XmCreateMenuBar[form, "menubar", args, n] XtManageChild[menubar] create_menu[menubar]

    標簽: NULL XtVaAppInitialize toplevel Form

    上傳時間: 2013-12-19

    上傳用戶:亞亞娟娟123

主站蜘蛛池模板: 尉氏县| 安图县| 历史| 扎赉特旗| 汉川市| 太和县| 千阳县| 平和县| 溆浦县| 蒙山县| 那坡县| 龙南县| 焉耆| 广西| 鹿邑县| 金山区| 文山县| 威海市| 宣汉县| 正安县| 古浪县| 新巴尔虎右旗| 子长县| 大宁县| 新乡县| 彭州市| 措勤县| 富源县| 孝昌县| 涞源县| 泽普县| 玛纳斯县| 木兰县| 天水市| 平果县| 临夏市| 昆明市| 宜君县| 景洪市| 和田市| 治多县|