Two functions, num2bin and bin2num are provided. num2bin takes a double and converts it to a binary string representation. bin2num is its inverse operation. It can be used in a numerical analysis course when floating point arithmetic is discussed.
標簽: num2bin functions and converts
上傳時間: 2014-01-07
上傳用戶:gdgzhym
double pow(double,double) 省去了libm的麻煩。可以自由使用
上傳時間: 2015-09-25
上傳用戶:qilin
1、鏈接存儲方法 鏈接方式存儲的線性表簡稱為鏈表(Linked List)。 鏈表的具體存儲表示為: ① 用一組任意的存儲單元來存放線性表的結點(這組存儲單元既可以是連續的,也可以是不連續的) ② 鏈表中結點的邏輯次序和物理次序不一定相同。為了能正確表示結點間的邏輯關系,在存儲每個結點值的同時,還必須存儲指示其后繼結點的地址(或位置)信息(稱為指針(pointer)或鏈(link)) 注意: 鏈式存儲是最常用的存儲方式之一,它不僅可用來表示線性表,而且可用來表示各種非線性的數據結構。
上傳時間: 2015-10-05
上傳用戶:Avoid98
Template functions for serializing arbitrary linked nodes. 串行化連接節點的模板函數(源碼)(25KB)
標簽: serializing functions arbitrary Template
上傳時間: 2015-10-20
上傳用戶:蟲蟲蟲蟲蟲蟲
for double color balls, it can help you make the list with high p
上傳時間: 2014-12-04
上傳用戶:youlongjian0
Double Sided Watermark Embedding and Detection with Perceptual Analysis (關于watermark的2007年最新外文資料)
標簽: Perceptual Detection Embedding Watermark
上傳時間: 2014-01-24
上傳用戶:shawvi
一、 一元三次回歸方程 CubicMultinomialRegress.cs 方程模型為Y=a*X(3)+b*X(2)+c*X(1)+d public override double[] buildFormula() 得到系數數組,存放順序與模型系數相反,即該數組中系數的值依次是d,c,b,a。 以后所述所有模型的系數存放均與此相同(多元線性回歸方程除外)。 public override double forecast(double x) 預測函數,根據模型得到預測結果 public override double computeR2() 計算相關系數(決定系數),系數越接近1,數據越滿足該模型。
標簽: CubicMultinomialRegress override public double
上傳時間: 2015-11-25
上傳用戶:13215175592
指數回歸方程 ExponentRegress.cs 方程模型為 public override double[] buildFormula() 得到系數數組,存放順序與模型系數相反,即該數組中系數的值依次是b,a。 public override double forecast(double x) 預測函數,根據模型得到預測結果。 public override double computeR2() 計算相關系數(決定系數),系數越接近1,數據越滿足該模型。
標簽: ExponentRegress buildFormula override public
上傳時間: 2013-12-20
上傳用戶:xg262122
對數回歸方程 LogarithmRegress.cs 方程模型為 Y=a*LnX+b public override double[] buildFormula() 得到系數數組,存放順序與模型系數相反,即該數組中系數的值依次是b,a。 public override double forecast(double x) 預測函數,根據模型得到預測結果。 public override double computeR2() 計算相關系數(決定系數),系數越接近1,數據越滿足該模型。
標簽: LogarithmRegress buildFormula override public
上傳時間: 2014-01-23
上傳用戶:330402686
本題的算法中涉及的三個函數: double bbp(int n,int k,int l) 其中n為十六進制位第n位,k取值范圍為0到n+7,用來計算16nS1,16nS2,16nS3,16nS4小數部分的每一項。返回每一項的小數部分。 void pi(int m,int n,int p[]) 計算從n位開始的連續m位的十六進制數字。其中p為存儲十六進制數字的數組。 void div(int p[]) void add(int a[],int b[]) 這兩個函數都是為最后把十六進制數字轉換為十進制數字服務的。 最后把1000個數字分別存儲在整型數組r[]中,輸出就是按順序輸出該數組。
上傳時間: 2014-01-05
上傳用戶:xcy122677