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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? lsq.h

?? orange源碼 數據挖掘技術
?? H
字號:
// TODO: CopyRight ...????

#include <math.h>
#include <stdlib.h>

const double zero = 0.0;
const double one = 1.0;
const double vsmall = 1.e-69;


class lsq {
	
/*
!     The PUBLIC variables are:
!     lsq_kind = a KIND parameter for the floating-point quantities calculated
!                in this module.   See the more detailed explanation below.
!                This KIND parameter should be used for all floating-point
!                arguments passed to routines in this module.
!     nobs    = the number of observations processed to date.
!     ncol    = the total number of variables, including one for the constant,
!               if a constant is being fitted.
!     r_dim   = the dimension of array r = ncol*(ncol-1)/2
!     vorder  = an integer vector storing the current order of the variables
!               in the QR-factorization.   The initial order is 0, 1, 2, ...
!               if a constant is being fitted, or 1, 2, ... otherwise.
!     initialized = a logical variable which indicates whether space has
!                   been allocated for various arrays.
!     tol_set = a logical variable which is set when subroutine TOLSET has
!               been called to calculate tolerances for use in testing for
!               singularities.
!     rss_set = a logical variable indicating whether residual sums of squares
!               are available and usable.
!     d()     = array of row multipliers for the Cholesky factorization.
!               The factorization is X = Q.sqrt(D).R where Q is an ortho-
!               normal matrix which is NOT stored, D is a diagonal matrix
!               whose diagonal elements are stored in array d, and R is an
!               upper-triangular matrix with 1's as its diagonal elements.
!     rhs()   = vector of RHS projections (after scaling by sqrt(D)).
!               Thus Q'y = sqrt(D).rhs
!     r()     = the upper-triangular matrix R.   The upper triangle only,
!               excluding the implicit 1's on the diagonal, are stored by
!               rows.
!     tol()   = array of tolerances used in testing for singularities.
!     rss()   = array of residual sums of squares.   rss(i) is the residual
!               sum of squares with the first r variables in the model.
!               By changing the order of variables, the residual sums of
!               squares can be found for all possible subsets of the variables.
!               The residual sum of squares with NO variables in the model,
!               that is the total sum of squares of the y-values, can be
!               calculated as rss(1) + d(1)*rhs(1)^2.   If the first variable
!               is a constant, then rss(1) is the sum of squares of
!               (y - ybar) where ybar is the average value of y.
!     sserr   = residual sum of squares with all of the variables included.
	*/
	
public:
	
	int nobs, ncol, r_dim;
	int *vorder;
	bool initialized ;
	bool tol_set ;
	bool rss_set ;
	
	/*
	!     Note. lsq_kind is being set to give at least 10 decimal digit
	!           representation of floating point numbers.   This should be
	!           adequate for most problems except the fitting of polynomials.
	!           lsq_kind is being set so that the same code can be run on PCs
	!           and Unix systems, which will usually represent floating-point
	!           numbers in `double precision', and other systems with larger
	!           word lengths which will give similar accuracy in `single
	!           precision'.
	*/
	
	double *d, *rhs, *r, *tol, *rss;
	double sserr;

	lsq() {
		initialized = false;
		tol_set = false;
		rss_set = false;
	}
	
	~lsq() {
		if (initialized) {
			free(d);
			free(rhs);
			free(r);
			free(tol);
			free(rss);
			free(vorder);
		}
	}
	 
	void startup(int nvar, bool fit_const);
	void includ(double weight, double *xrow, double yelem);
	void regcf(double *beta, int nreq, int& ifault);
	void tolset();
	void sing(bool *lindep, int& ifault);
	void ss();
	void cov(int nreq, double& var, double *covmat, int dimcov, double *sterr, int& ifault);
	void inv(int nreq, double *rinv);
	void partial_corr(int in, double *cormat, int dimc, double *ycorr,int& ifault);
	void vmove(int from, int to,int& ifault);
	void reordr(int *list, int n, int pos1, int& ifault);
	void hdiag(double *xrow, int nreq, double& hii, int& ifault);	
	double varprd(double *x, int nreq, double& var, int& ifault);
	void bksub2(double *x, double *b, int nreq);
};

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美国产系列| 亚洲一区二区黄色| 依依成人精品视频| 久久激情五月婷婷| av电影一区二区| 精品99久久久久久| 亚洲成av人片在线| 日本高清不卡一区| 亚洲欧洲日产国产综合网| 免费观看日韩av| 欧美精品久久久久久久多人混战| 国产欧美视频一区二区三区| 日本不卡一二三| 欧美午夜精品久久久久久孕妇| 欧美国产日韩a欧美在线观看| 日本成人中文字幕| 欧美日韩一区二区三区视频| 18成人在线视频| 国产成人精品亚洲777人妖| 日韩一级完整毛片| 丝瓜av网站精品一区二区| 在线中文字幕不卡| 亚洲另类春色校园小说| 99免费精品在线| 中文字幕欧美区| 丁香啪啪综合成人亚洲小说| 久久精品亚洲一区二区三区浴池 | 国产欧美一区二区精品性色超碰 | 日韩欧美激情在线| 日韩高清国产一区在线| 91精品麻豆日日躁夜夜躁| 亚洲香肠在线观看| 欧美日韩视频第一区| 天天射综合影视| 欧美肥妇毛茸茸| 蜜桃免费网站一区二区三区| 91精品国产色综合久久不卡蜜臀| 日韩av在线播放中文字幕| 777午夜精品免费视频| 日本少妇一区二区| 欧美精品一区二区三| 韩国v欧美v亚洲v日本v| 国产欧美精品在线观看| 不卡高清视频专区| 一区二区三区成人| 欧美日韩国产高清一区二区三区| 日韩制服丝袜先锋影音| 精品处破学生在线二十三| 国产成人免费视频网站| 亚洲三级免费观看| 777亚洲妇女| 91免费看视频| 一区二区欧美精品| 日韩三级av在线播放| 国产一区二区三区四区在线观看| 久久色.com| 色婷婷狠狠综合| 人人爽香蕉精品| 国产精品水嫩水嫩| 欧美色老头old∨ideo| 久久成人麻豆午夜电影| 欧美经典一区二区| 欧美亚洲国产一区二区三区va | 91精品国产综合久久精品| 国产精品99久久久久久久vr | eeuss鲁片一区二区三区在线观看| 亚洲人妖av一区二区| 欧美高清激情brazzers| 国产夫妻精品视频| 一区二区高清在线| 久久―日本道色综合久久| 欧洲亚洲精品在线| 国产一区二区三区不卡在线观看 | 欧美日韩国产首页| 粉嫩绯色av一区二区在线观看 | 国产一区二区视频在线| 亚洲一区二区在线观看视频 | 日韩天堂在线观看| 91免费在线视频观看| 极品少妇一区二区三区精品视频| 亚洲欧美自拍偷拍| 精品久久久久香蕉网| 欧美中文字幕一二三区视频| 国产精品自拍av| 亚洲大片精品永久免费| 国产精品国产三级国产普通话三级| 欧美性大战久久久久久久蜜臀 | 美女任你摸久久| 伊人一区二区三区| 国产精品久久久久久久久免费樱桃| 欧美精选午夜久久久乱码6080| zzijzzij亚洲日本少妇熟睡| 久久99国产精品尤物| 日韩av高清在线观看| 亚洲精品欧美二区三区中文字幕| 久久久精品免费网站| 日韩精品专区在线| 欧美日精品一区视频| 色婷婷亚洲精品| 91首页免费视频| 丁香亚洲综合激情啪啪综合| 激情亚洲综合在线| 免费的国产精品| 天堂蜜桃一区二区三区| 亚洲欧美国产毛片在线| 国产精品久久久久影院老司 | 精品欧美一区二区久久 | 一本色道久久综合亚洲aⅴ蜜桃| 国产精品亚洲成人| 国模冰冰炮一区二区| 久久精品国产99国产精品| 日韩黄色小视频| 日韩在线卡一卡二| 日日欢夜夜爽一区| 三级亚洲高清视频| 天天影视网天天综合色在线播放| 视频一区国产视频| 日韩黄色片在线观看| 免费亚洲电影在线| 久久精品国产久精国产| 久久爱另类一区二区小说| 激情综合亚洲精品| 国产69精品久久久久777| 高清免费成人av| 99久久精品国产麻豆演员表| 99久久国产综合精品麻豆| 91蜜桃免费观看视频| 欧美亚洲动漫另类| 欧美一级片免费看| 久久女同性恋中文字幕| 国产精品午夜久久| 亚洲女人小视频在线观看| 亚洲国产成人av网| 日韩av一二三| 国产乱子伦视频一区二区三区| 国产99久久久精品| 在线视频你懂得一区| 日韩一区二区三区观看| 久久久久国产精品厨房| 亚洲精品国产一区二区三区四区在线| 一区二区在线观看免费视频播放| 午夜一区二区三区在线观看| 美国一区二区三区在线播放| 国产超碰在线一区| 在线观看一区二区精品视频| 日韩精品一区二区三区视频在线观看| 精品国产污网站| 亚洲你懂的在线视频| 美女精品自拍一二三四| 99国产一区二区三精品乱码| 91精品国产91综合久久蜜臀| 国产喷白浆一区二区三区| 亚洲激情一二三区| 国产乱理伦片在线观看夜一区| 91国内精品野花午夜精品| 日韩精品一区在线观看| 亚洲欧洲精品天堂一级| 久久精品国产秦先生| 色婷婷狠狠综合| 国产亚洲成av人在线观看导航| 亚洲国产一区二区a毛片| 激情欧美日韩一区二区| 欧美日韩在线播放三区| 国产欧美一区二区三区在线老狼| 亚洲国产精品一区二区久久恐怖片 | 成年人国产精品| 日韩欧美国产电影| 亚洲综合在线免费观看| 国产激情一区二区三区| 欧美久久久久久久久久| 亚洲精品一卡二卡| 国产一区二区三区视频在线播放 | 波波电影院一区二区三区| 在线91免费看| 亚洲综合一区二区| av影院午夜一区| 久久久国产午夜精品| 亚洲18女电影在线观看| 91在线视频18| 中文字幕精品在线不卡| 精品一区二区三区视频在线观看| 欧美性受xxxx黑人xyx性爽| 国产精品家庭影院| 国产精品1区二区.| 欧美变态tickling挠脚心| 亚洲超碰精品一区二区| 91美女视频网站| 亚洲欧美中日韩| jlzzjlzz欧美大全| 国产日韩精品一区二区三区在线| 久久超碰97人人做人人爱| 日韩视频免费直播| 日韩va亚洲va欧美va久久| 欧美老女人在线| 香蕉久久一区二区不卡无毒影院| 欧美午夜理伦三级在线观看| 一个色在线综合| 欧美色网一区二区| 日韩黄色免费电影| 日韩三级av在线播放|