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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? nrutil.c

?? Bayesian網(wǎng)絡(luò)工具箱.
?? C
字號:
/* CAUTION: This is the ANSI C (only) version of the Numerical Recipes   utility file nrutil.c.  Do not confuse this file with the same-named   file nrutil.c that is supplied in the 'misc' subdirectory.   *That* file is the one from the book, and contains both ANSI and   traditional K&R versions, along with #ifdef macros to select the   correct version.  *This* file contains only ANSI C.               */#include <stdio.h>#include <stddef.h>#include <stdlib.h>#define NR_END 1#define FREE_ARG char*void nrerror(char error_text[])/* Numerical Recipes standard error handler */{	fprintf(stderr,"Numerical Recipes run-time error...\n");	fprintf(stderr,"%s\n",error_text);	fprintf(stderr,"...now exiting to system...\n");	exit(1);}float *vector(long nl, long nh)/* allocate a float vector with subscript range v[nl..nh] */{	float *v;	v=(float *)malloc((size_t) ((nh-nl+1+NR_END)*sizeof(float)));	if (!v) nrerror("allocation failure in vector()");	return v-nl+NR_END;}int *ivector(long nl, long nh)/* allocate an int vector with subscript range v[nl..nh] */{	int *v;	v=(int *)malloc((size_t) ((nh-nl+1+NR_END)*sizeof(int)));	if (!v) nrerror("allocation failure in ivector()");	return v-nl+NR_END;}unsigned char *cvector(long nl, long nh)/* allocate an unsigned char vector with subscript range v[nl..nh] */{	unsigned char *v;	v=(unsigned char *)malloc((size_t) ((nh-nl+1+NR_END)*sizeof(unsigned char)));	if (!v) nrerror("allocation failure in cvector()");	return v-nl+NR_END;}unsigned long *lvector(long nl, long nh)/* allocate an unsigned long vector with subscript range v[nl..nh] */{	unsigned long *v;	v=(unsigned long *)malloc((size_t) ((nh-nl+1+NR_END)*sizeof(long)));	if (!v) nrerror("allocation failure in lvector()");	return v-nl+NR_END;}double *dvector(long nl, long nh)/* allocate a double vector with subscript range v[nl..nh] */{	double *v;	v=(double *)malloc((size_t) ((nh-nl+1+NR_END)*sizeof(double)));	if (!v) nrerror("allocation failure in dvector()");	return v-nl+NR_END;}float **matrix(long nrl, long nrh, long ncl, long nch)/* allocate a float matrix with subscript range m[nrl..nrh][ncl..nch] */{	long i, nrow=nrh-nrl+1,ncol=nch-ncl+1;	float **m;	/* allocate pointers to rows */	m=(float **) malloc((size_t)((nrow+NR_END)*sizeof(float*)));	if (!m) nrerror("allocation failure 1 in matrix()");	m += NR_END;	m -= nrl;	/* allocate rows and set pointers to them */	m[nrl]=(float *) malloc((size_t)((nrow*ncol+NR_END)*sizeof(float)));	if (!m[nrl]) nrerror("allocation failure 2 in matrix()");	m[nrl] += NR_END;	m[nrl] -= ncl;	for(i=nrl+1;i<=nrh;i++) m[i]=m[i-1]+ncol;	/* return pointer to array of pointers to rows */	return m;}double **dmatrix(long nrl, long nrh, long ncl, long nch)/* allocate a double matrix with subscript range m[nrl..nrh][ncl..nch] */{	long i, nrow=nrh-nrl+1,ncol=nch-ncl+1;	double **m;	/* allocate pointers to rows */	m=(double **) malloc((size_t)((nrow+NR_END)*sizeof(double*)));	if (!m) nrerror("allocation failure 1 in matrix()");	m += NR_END;	m -= nrl;	/* allocate rows and set pointers to them */	m[nrl]=(double *) malloc((size_t)((nrow*ncol+NR_END)*sizeof(double)));	if (!m[nrl]) nrerror("allocation failure 2 in matrix()");	m[nrl] += NR_END;	m[nrl] -= ncl;	for(i=nrl+1;i<=nrh;i++) m[i]=m[i-1]+ncol;	/* return pointer to array of pointers to rows */	return m;}int **imatrix(long nrl, long nrh, long ncl, long nch)/* allocate a int matrix with subscript range m[nrl..nrh][ncl..nch] */{	long i, nrow=nrh-nrl+1,ncol=nch-ncl+1;	int **m;	/* allocate pointers to rows */	m=(int **) malloc((size_t)((nrow+NR_END)*sizeof(int*)));	if (!m) nrerror("allocation failure 1 in matrix()");	m += NR_END;	m -= nrl;	/* allocate rows and set pointers to them */	m[nrl]=(int *) malloc((size_t)((nrow*ncol+NR_END)*sizeof(int)));	if (!m[nrl]) nrerror("allocation failure 2 in matrix()");	m[nrl] += NR_END;	m[nrl] -= ncl;	for(i=nrl+1;i<=nrh;i++) m[i]=m[i-1]+ncol;	/* return pointer to array of pointers to rows */	return m;}float **submatrix(float **a, long oldrl, long oldrh, long oldcl, long oldch,	long newrl, long newcl)/* point a submatrix [newrl..][newcl..] to a[oldrl..oldrh][oldcl..oldch] */{	long i,j,nrow=oldrh-oldrl+1,ncol=oldcl-newcl;	float **m;	/* allocate array of pointers to rows */	m=(float **) malloc((size_t) ((nrow+NR_END)*sizeof(float*)));	if (!m) nrerror("allocation failure in submatrix()");	m += NR_END;	m -= newrl;	/* set pointers to rows */	for(i=oldrl,j=newrl;i<=oldrh;i++,j++) m[j]=a[i]+ncol;	/* return pointer to array of pointers to rows */	return m;}float **convert_matrix(float *a, long nrl, long nrh, long ncl, long nch)/* allocate a float matrix m[nrl..nrh][ncl..nch] that points to the matrixdeclared in the standard C manner as a[nrow][ncol], where nrow=nrh-nrl+1and ncol=nch-ncl+1. The routine should be called with the address&a[0][0] as the first argument. */{	long i,j,nrow=nrh-nrl+1,ncol=nch-ncl+1;	float **m;	/* allocate pointers to rows */	m=(float **) malloc((size_t) ((nrow+NR_END)*sizeof(float*)));	if (!m) nrerror("allocation failure in convert_matrix()");	m += NR_END;	m -= nrl;	/* set pointers to rows */	m[nrl]=a-ncl;	for(i=1,j=nrl+1;i<nrow;i++,j++) m[j]=m[j-1]+ncol;	/* return pointer to array of pointers to rows */	return m;}double **convert_dmatrix(double *a, long nrl, long nrh, long ncl, long nch)/* allocate a float matrix m[nrl..nrh][ncl..nch] that points to the matrixdeclared in the standard C manner as a[nrow][ncol], where nrow=nrh-nrl+1and ncol=nch-ncl+1. The routine should be called with the address&a[0][0] as the first argument. */{	long i,j,nrow=nrh-nrl+1,ncol=nch-ncl+1;	double **m;	/* allocate pointers to rows */	m=(double **) malloc((size_t) ((nrow+NR_END)*sizeof(double*)));	if (!m) nrerror("allocation failure in convert_dmatrix()");	m += NR_END;	m -= nrl;	/* set pointers to rows */	m[nrl]=a-ncl;	for(i=1,j=nrl+1;i<nrow;i++,j++) m[j]=m[j-1]+ncol;	/* return pointer to array of pointers to rows */	return m;}float ***f3tensor(long nrl, long nrh, long ncl, long nch, long ndl, long ndh)/* allocate a float 3tensor with range t[nrl..nrh][ncl..nch][ndl..ndh] */{	long i,j,nrow=nrh-nrl+1,ncol=nch-ncl+1,ndep=ndh-ndl+1;	float ***t;	/* allocate pointers to pointers to rows */	t=(float ***) malloc((size_t)((nrow+NR_END)*sizeof(float**)));	if (!t) nrerror("allocation failure 1 in f3tensor()");	t += NR_END;	t -= nrl;	/* allocate pointers to rows and set pointers to them */	t[nrl]=(float **) malloc((size_t)((nrow*ncol+NR_END)*sizeof(float*)));	if (!t[nrl]) nrerror("allocation failure 2 in f3tensor()");	t[nrl] += NR_END;	t[nrl] -= ncl;	/* allocate rows and set pointers to them */	t[nrl][ncl]=(float *) malloc((size_t)((nrow*ncol*ndep+NR_END)*sizeof(float)));	if (!t[nrl][ncl]) nrerror("allocation failure 3 in f3tensor()");	t[nrl][ncl] += NR_END;	t[nrl][ncl] -= ndl;	for(j=ncl+1;j<=nch;j++) t[nrl][j]=t[nrl][j-1]+ndep;	for(i=nrl+1;i<=nrh;i++) {		t[i]=t[i-1]+ncol;		t[i][ncl]=t[i-1][ncl]+ncol*ndep;		for(j=ncl+1;j<=nch;j++) t[i][j]=t[i][j-1]+ndep;	}	/* return pointer to array of pointers to rows */	return t;}void free_vector(float *v, long nl, long nh)/* free a float vector allocated with vector() */{	free((FREE_ARG) (v+nl-NR_END));}void free_ivector(int *v, long nl, long nh)/* free an int vector allocated with ivector() */{	free((FREE_ARG) (v+nl-NR_END));}void free_cvector(unsigned char *v, long nl, long nh)/* free an unsigned char vector allocated with cvector() */{	free((FREE_ARG) (v+nl-NR_END));}void free_lvector(unsigned long *v, long nl, long nh)/* free an unsigned long vector allocated with lvector() */{	free((FREE_ARG) (v+nl-NR_END));}void free_dvector(double *v, long nl, long nh)/* free a double vector allocated with dvector() */{	free((FREE_ARG) (v+nl-NR_END));}void free_matrix(float **m, long nrl, long nrh, long ncl, long nch)/* free a float matrix allocated by matrix() */{	free((FREE_ARG) (m[nrl]+ncl-NR_END));	free((FREE_ARG) (m+nrl-NR_END));}void free_dmatrix(double **m, long nrl, long nrh, long ncl, long nch)/* free a double matrix allocated by dmatrix() */{	free((FREE_ARG) (m[nrl]+ncl-NR_END));	free((FREE_ARG) (m+nrl-NR_END));}void free_imatrix(int **m, long nrl, long nrh, long ncl, long nch)/* free an int matrix allocated by imatrix() */{	free((FREE_ARG) (m[nrl]+ncl-NR_END));	free((FREE_ARG) (m+nrl-NR_END));}void free_submatrix(float **b, long nrl, long nrh, long ncl, long nch)/* free a submatrix allocated by submatrix() */{	free((FREE_ARG) (b+nrl-NR_END));}void free_convert_matrix(float **b, long nrl, long nrh, long ncl, long nch)/* free a matrix allocated by convert_matrix() */{	free((FREE_ARG) (b+nrl-NR_END));}void free_convert_dmatrix(double **b, long nrl, long nrh, long ncl, long nch)/* free a matrix allocated by convert_matrix() */{	free((FREE_ARG) (b+nrl-NR_END));}void free_f3tensor(float ***t, long nrl, long nrh, long ncl, long nch,	long ndl, long ndh)/* free a float f3tensor allocated by f3tensor() */{	free((FREE_ARG) (t[nrl][ncl]+ndl-NR_END));	free((FREE_ARG) (t[nrl]+ncl-NR_END));	free((FREE_ARG) (t+nrl-NR_END));}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区资源| 美女脱光内衣内裤视频久久网站 | 色久优优欧美色久优优| 国产一区在线看| 国产在线精品一区二区夜色| 美脚の诱脚舐め脚责91| 强制捆绑调教一区二区| 蜜乳av一区二区| 另类欧美日韩国产在线| 蜜桃视频一区二区| 国内精品免费在线观看| 粉嫩aⅴ一区二区三区四区 | 1024国产精品| 亚洲欧美日韩一区| 亚洲激情欧美激情| 亚洲成av人影院在线观看网| 青青草国产成人av片免费| 免费观看久久久4p| 国产大陆亚洲精品国产| jlzzjlzz亚洲日本少妇| 欧洲另类一二三四区| 欧美一区二区三区精品| 精品国产乱码久久久久久牛牛| 欧美精品一区二区三| 国产精品久久久久久久久晋中 | jlzzjlzz欧美大全| 91精品婷婷国产综合久久 | 成人免费毛片aaaaa**| 色综合天天狠狠| 日韩丝袜情趣美女图片| 久久影视一区二区| 亚洲精品亚洲人成人网在线播放| 午夜精品福利视频网站| 国产传媒久久文化传媒| 91福利社在线观看| 欧美va亚洲va在线观看蝴蝶网| 国产清纯白嫩初高生在线观看91 | 日本大胆欧美人术艺术动态| 国产九色精品成人porny| 91农村精品一区二区在线| 日韩视频免费直播| 亚洲欧美影音先锋| 激情深爱一区二区| 91高清在线观看| 中文字幕中文字幕一区| 久久99国内精品| 欧美专区日韩专区| 中文字幕巨乱亚洲| 极品少妇一区二区三区精品视频| 色噜噜狠狠色综合中国| 久久久久久久av麻豆果冻| 亚洲h动漫在线| 不卡视频一二三四| 久久久99精品久久| 亚洲va欧美va人人爽| 99国产一区二区三精品乱码| 久久综合九色综合97_久久久| 亚欧色一区w666天堂| 97久久超碰精品国产| 欧美国产在线观看| 国产一区二区不卡| 欧美一区二区三区视频在线 | 亚洲欧洲精品一区二区精品久久久| 三级欧美韩日大片在线看| 91在线视频免费观看| 久久精品日韩一区二区三区| 久久精品国产999大香线蕉| 欧美日韩在线观看一区二区| 亚洲色图一区二区三区| 成人中文字幕电影| 国产日韩亚洲欧美综合| 国产精品77777| 久久久亚洲精品石原莉奈| 激情欧美一区二区| 国产亚洲一区二区在线观看| 国产九色精品成人porny| 欧美精品一区二区三区蜜桃 | 欧美探花视频资源| 一区二区欧美在线观看| 色噜噜夜夜夜综合网| 亚洲另类春色国产| 在线观看日产精品| 亚洲精品中文字幕在线观看| 色偷偷88欧美精品久久久| 亚洲老妇xxxxxx| 在线观看91视频| 蜜桃久久精品一区二区| 久久亚洲一区二区三区四区| 国产成人精品三级| 自拍av一区二区三区| 在线观看区一区二| 日本欧美大码aⅴ在线播放| 精品99999| bt欧美亚洲午夜电影天堂| 一区二区三区国产| 日韩女优视频免费观看| 国产精品一区一区| 国产精品美女www爽爽爽| 欧洲精品一区二区| 蜜臀精品一区二区三区在线观看 | 天天色综合成人网| 欧美一级二级三级蜜桃| 国产一区二区三区四区在线观看| 久久精品欧美日韩精品| 91蜜桃视频在线| 蜜乳av一区二区| 成人欧美一区二区三区白人| 欧美伦理视频网站| 国产福利91精品一区二区三区| 尤物av一区二区| xnxx国产精品| 色妞www精品视频| 国内精品不卡在线| 亚洲综合视频网| 欧美国产亚洲另类动漫| 欧美日韩国产天堂| 国产**成人网毛片九色| 天堂精品中文字幕在线| 国产精品网友自拍| 欧美一区在线视频| 在线视频国内自拍亚洲视频| 国模冰冰炮一区二区| 亚洲激情图片一区| 中文av字幕一区| 精品成人免费观看| 69成人精品免费视频| 91在线码无精品| 国产精品综合在线视频| 天堂成人国产精品一区| 日韩美女视频一区| 国产女人水真多18毛片18精品视频| 欧美蜜桃一区二区三区| 国产综合久久久久久鬼色| 亚洲韩国精品一区| 欧美国产日产图区| 日韩欧美一二三区| 欧美日本在线视频| 色综合天天综合在线视频| 国产精品456露脸| 久久 天天综合| 另类小说欧美激情| 日韩精品一卡二卡三卡四卡无卡| 亚洲男人的天堂在线观看| 国产精品美女视频| 国产三级欧美三级日产三级99| 日韩免费在线观看| 欧美一卡二卡在线| 88在线观看91蜜桃国自产| 欧美日韩一区二区三区在线看| 色婷婷亚洲一区二区三区| av在线播放不卡| 97精品国产露脸对白| 成人激情动漫在线观看| 成人精品免费看| 99麻豆久久久国产精品免费优播| 国产成人免费高清| 99久久精品国产精品久久 | 亚洲乱码国产乱码精品精小说| 国产日韩精品久久久| 久久久久久久久蜜桃| 久久久亚洲精品一区二区三区| 国产亚洲欧美日韩日本| 国产欧美一二三区| 国产精品久久久久婷婷| 中文字幕日韩一区| 亚洲一区二区综合| 午夜精品久久久久久久蜜桃app | 精品久久人人做人人爽| 久久综合视频网| 国产精品美女视频| 亚洲人精品午夜| 天天色综合成人网| 久久99国产精品久久| 国产成人无遮挡在线视频| 成人app网站| 欧美美女网站色| 26uuu久久天堂性欧美| 国产精品久久久久一区二区三区| 伊人婷婷欧美激情| 美女被吸乳得到大胸91| 不卡电影免费在线播放一区| 欧美伊人久久久久久久久影院 | 成人黄动漫网站免费app| 91久久人澡人人添人人爽欧美| 欧美高清视频在线高清观看mv色露露十八| 777午夜精品免费视频| 国产亚洲午夜高清国产拍精品| 中文字幕一区二区不卡| 日韩电影免费在线看| 国产99久久久国产精品免费看| 欧美自拍偷拍一区| 国产欧美精品一区| 天天操天天综合网| 99免费精品在线观看| 精品久久久影院| 亚洲一区二区三区中文字幕| 国产一区美女在线| 欧美人与z0zoxxxx视频| 国产精品欧美一区喷水| 美国毛片一区二区三区|