功能:編寫的計算皮亞諾相關(guān)系數(shù) 開發(fā)語言:ruby 調(diào)用:correlate(x,y) 其中,x,y為需要計算相關(guān)度的向量 調(diào)用示例: a = [3, 6, 9, 12, 15, 18, 21] b = [1.1, 2.1, 3.4, 4.8, 5.6] c = [1.9, 1.0, 3.9, 3.1, 6.9] c1 = correlate(a,a) # 1.0 c2 = correlate(a,a.reverse) # -1.0 c3 = correlate(b,c) # 0.8221970228 puts c1#,c2,c3
標(biāo)簽: correlate ruby 計算 12
上傳時間: 2013-12-18
上傳用戶:skfreeman
軟件介紹: 編程環(huán)境: windows2003 +visual stdio c++ .net Ado + SQL2000 /####################################/ ** SQL設(shè)置: 將在SQL2000下建立schooldata數(shù)據(jù)庫 導(dǎo)入數(shù)據(jù)文件 導(dǎo)入數(shù)據(jù): data目錄下有school_back數(shù)據(jù)庫備分文件 操作:用SQL企業(yè)管理器還原數(shù)據(jù)庫來導(dǎo)入數(shù)據(jù) 訪問本地數(shù)據(jù)庫服務(wù)器,密碼是自己設(shè)置的那個,操作schooldata數(shù)據(jù)庫的用戶名和密碼相同 主要用ADO訪問數(shù)據(jù)庫,和幾個顯示數(shù)據(jù)的控件Treectrl,listctrl,datagrid等 程序中有幾個BUG還沒解決, 實現(xiàn)功能: 操作:在選擇查詢條件:選擇一個,tree控件里顯示相關(guān)信息 可以在tree控件里單擊來顯示每個ITEM,每個ITEM相關(guān)信息顯示在LIST控件內(nèi) 雙擊LIST控件顯示具體信息 也可以在窗口里單擊右鍵或操作菜單具體操作 主要功能: 查詢,添加,刪除,顯示“學(xué)院,各系,班級,學(xué)生,教師,社團,課程”等信息 //====================================================================== 程序還用了Active Skin 對程序進行了換膚
標(biāo)簽: windows visual stdio 2003
上傳時間: 2013-12-18
上傳用戶:er1219
Intro/: Directory containing introductory examples. HelloWorld.c A simple program that draws a box and writes "Hello World" in HelloWorld.f it. data The data file for the introductory progressive example. Lines.c Reads the data from file "data" and plots just the curve with Lines.f no labels, viewport or anything indicating quantity or units. Viewport.c Restricts the graph to a viewport and frames the viewport, Viewport.f leaving the remainder of the area for labels, etc. CharLbls.c Adds labels for the chart title, X-axis title, and Y-axis CharLbls.f title. Tics.c Adds tic marks to the viewport edges, but since clipping was Tics.f not set correctly, tics extend outside the viewport. Clip.c Sets clipping such that tic marks are clipped at the viewport Clip.f boundaries. TicLabels.c Adds numeric tic labels to the graph this is the final TicLabels.f installment of the progressive example.
標(biāo)簽: introductory HelloWorld containing Directory
上傳時間: 2016-03-29
上傳用戶:exxxds
多項式曲線擬合 任意介數(shù) Purpose - Least-squares curve fit of arbitrary order working in C++ Builder 2007 as a template class, using vector<FloatType> parameters. Added a method to handle some EMathError exceptions. If do NOT want to use this just call PolyFit2 directly. usage: Call PolyFit by something like this. CPolyFit<double> PolyFitObj double correlation_coefficiant = PolyFitObj.PolyFit(X, Y, A) where X and Y are vectors of doubles which must have the same size and A is a vector of doubles which must be the same size as the number of coefficients required. returns: The correlation coefficient or -1 on failure. produces: A vector (A) which holds the coefficients.
標(biāo)簽: Least-squares arbitrary Purpose Builder
上傳時間: 2013-12-18
上傳用戶:宋桃子
SAS是功能強大的統(tǒng)計軟體,其程式碼有8成是用C所開發(fā)。此檔案提供豐富的SAS SQL程式碼,可幫助你解決相關(guān)的資料問題問題。
標(biāo)簽: SAS
上傳時間: 2014-11-24
上傳用戶:sevenbestfei
Expert C Programming: Deep C Secrets By Peter van der Linden. Have you ever noticed that there are plenty of C books with suggestive names like C Traps and Pitfalls, or The C Puzzle Book, or Obfuscated C and Other Mysteries, but other programming languages don t have books like that? There s a very good reason for this!
標(biāo)簽: Programming Secrets noticed Expert
上傳時間: 2013-12-12
上傳用戶:wqxstar
C 語言是1972年由美國的Dennis Ritchie設(shè)計發(fā)明的, 并首次在UNIX操作系統(tǒng) 的 DEC PDP-11 計算機上使用。 它由早期的編程語言 BCPL( Basic Combind Programming Language) 發(fā)展演變而來。在1970年, AT&T 貝爾實驗室的 Ken Thompson根據(jù)BCPL語言設(shè)計出較先進的并取名為 B的語言, 最后導(dǎo)了C 語言的問世。 隨著微型計算機的日益普及, 出現(xiàn)了許多C 語言版本。由于沒有統(tǒng)一的標(biāo)準(zhǔn), 使得這些C 語言之間出現(xiàn)了一些不一致的地方。為了改變這種情況, 美國國家標(biāo)準(zhǔn) 研究所(ANSI)為C 語言制定了一套ANSI標(biāo)準(zhǔn), 成為現(xiàn)行的C語言標(biāo)準(zhǔn)。
標(biāo)簽: Combind Ritchie Dennis Basic
上傳時間: 2016-05-20
上傳用戶:003030
C 程式語言是一個多年來廣為被業(yè)界所使用的程式語言, 各種大型系統(tǒng)都可見其蹤影, 學(xué)會 C 語言只是一個開始, 代表你可以與其它的 C programmer 溝通, 并看懂成千上萬用 C 開發(fā)的系統(tǒng)的程式碼.
標(biāo)簽: programmer 語言 程式 大型
上傳時間: 2016-05-23
上傳用戶:jyycc
無級 變 速 器又稱CVT( continuouslyv ariable transmission,CV T),其速比可以連續(xù)變化,使用 這種變速器,可有效地利用發(fā)動機的性能,使發(fā)動 機與傳動系得到最佳的匹配,從而提高汽車的燃 油經(jīng)濟性和動力性。無級變速器是迄今為止最理 想的變速器,它代表著當(dāng)今汽車變速器發(fā)展的水 平和方向。
標(biāo)簽: continuouslyv transmission ariable CVT
上傳時間: 2016-06-03
上傳用戶:Zxcvbnm
C++實現(xiàn)的哈弗曼編碼,并有流程圖(1)I:初始化(Initialization)。從指定的英文文件中Sourcefile.txt讀取數(shù)據(jù),根據(jù)文件內(nèi)容統(tǒng)計的字符的頻度,建立哈夫曼樹。 (2)E:編碼(Encoding)。利用已經(jīng)建好的哈夫曼樹進行編碼,并將每個字符的編碼寫入文件HuffCode.txt中保存。 (3)C:壓縮(Compress)。根據(jù)HuffCode.txt中編碼對文件Sourcefile.txt進行重新編碼,并將重新編碼后的內(nèi)容寫入文件CodeFile.txt中。 (4)D:譯碼(Decoding)。利用已經(jīng)建好的哈夫曼樹將文件CodeFile.txt中的代碼進行譯碼,結(jié)果存入文件TextFile中。 (5)P:打印代碼文件(Print)。將文件CodeFile.txt的內(nèi)容顯示在終端上,每行50個代碼。 (6)T:顯示哈夫曼樹(Treeprinting)。將已經(jīng)在內(nèi)存中的哈夫曼樹以直觀的方式(樹或凹入表形式)顯示在終端上。
標(biāo)簽: 編碼
上傳時間: 2013-12-24
上傳用戶:gxrui1991
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1