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

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

?? nrutil.c

?? Atheros AP Test with Agilent N4010A source code
?? C
?? 第 1 頁 / 共 2 頁
字號:
#if defined(__STDC__) || defined(ANSI) || defined(NRANSI) /* ANSI */

#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <malloc.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 matrix
declared in the standard C manner as a[nrow][ncol], where nrow=nrh-nrl+1
and 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;
}

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_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));
}

#else /* ANSI */
/* traditional - K&R */

#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#define NR_END 1
#define FREE_ARG char*

void nrerror(error_text)
char error_text[];
/* Numerical Recipes standard error handler */
{
	void exit();

	fprintf(stderr,"Numerical Recipes run-time error...\n");
	fprintf(stderr,"%s\n",error_text);
	fprintf(stderr,"...now exiting to system...\n");
	exit(1);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产婷婷色一区二区三区| 日韩三级视频在线观看| 精品国产精品一区二区夜夜嗨| 日韩美女久久久| 黑人巨大精品欧美黑白配亚洲| 国产精品美女一区二区三区| 亚洲国产精品精华液网站| 成人精品国产免费网站| 欧美一级二级三级蜜桃| 夜夜操天天操亚洲| 成人免费毛片片v| 欧美成人一区二区三区在线观看 | 在线观看成人小视频| 久久看人人爽人人| 蜜臀av性久久久久av蜜臀妖精| 91黄视频在线| 日韩一区中文字幕| 丰满少妇久久久久久久| 久久中文字幕电影| 蜜臀91精品一区二区三区| 欧美亚洲综合一区| 日韩一区中文字幕| 成人免费视频一区二区| 精品日韩成人av| 日本不卡123| 欧美日韩精品一区二区三区四区| 一区二区在线观看不卡| 9人人澡人人爽人人精品| 国产欧美一区二区精品性色| 九九**精品视频免费播放| 欧美一级午夜免费电影| 婷婷亚洲久悠悠色悠在线播放 | 久久精品久久99精品久久| 欧美日韩一区二区在线观看 | 综合av第一页| 菠萝蜜视频在线观看一区| 国产欧美精品一区二区色综合朱莉| 精品一区二区综合| 精品久久国产老人久久综合| 免费在线看成人av| 日韩欧美电影一区| 蜜臀av国产精品久久久久| 欧美一区二区三区人| 日产精品久久久久久久性色| 欧美精品日韩一区| 日本一不卡视频| 日韩欧美一区二区视频| 麻豆成人免费电影| 精品国精品自拍自在线| 国产精品一区二区在线观看网站| 国产拍欧美日韩视频二区| 成人高清伦理免费影院在线观看| 国产精品嫩草久久久久| 99久久99久久精品国产片果冻| 亚洲欧美日韩综合aⅴ视频| 97久久久精品综合88久久| 亚洲乱码一区二区三区在线观看| 日本乱人伦aⅴ精品| 亚洲在线一区二区三区| 欧美精品久久天天躁| 久久99日本精品| 久久综合色8888| 成人晚上爱看视频| 一区二区久久久久| 五月激情综合婷婷| 欧美一区二区三区在线看| 狠狠色丁香久久婷婷综合_中 | 337p亚洲精品色噜噜狠狠| 视频一区视频二区中文字幕| 日韩一级片网站| 国产福利一区二区三区在线视频| 中文字幕不卡在线| 日本精品一级二级| 日韩在线a电影| 欧美精品一区视频| 成人激情午夜影院| 亚洲bt欧美bt精品| 精品国产亚洲在线| 99久久99久久综合| 日本中文在线一区| 国产精品视频线看| 欧美亚洲国产一区二区三区va| 青青草原综合久久大伊人精品 | 一本高清dvd不卡在线观看| 亚洲午夜精品17c| 精品久久久久久最新网址| 成人黄色免费短视频| 亚洲午夜免费视频| 日韩区在线观看| 豆国产96在线|亚洲| 亚洲综合一区在线| 精品精品国产高清一毛片一天堂| 本田岬高潮一区二区三区| 亚洲成av人**亚洲成av**| 久久久亚洲精华液精华液精华液| 成人国产精品免费观看动漫| 日韩国产高清影视| 国产精品免费观看视频| 欧美精品v日韩精品v韩国精品v| 国产一区二区伦理| 亚洲国产一区二区在线播放| 欧美精品一区二区在线观看| 欧美在线免费播放| 国产成人免费9x9x人网站视频| 亚洲国产人成综合网站| 久久欧美一区二区| 欧美日韩在线三区| 国产91清纯白嫩初高中在线观看| 午夜精品福利在线| 国产精品毛片无遮挡高清| 4438亚洲最大| 色综合久久综合中文综合网| 精品一区二区影视| 性做久久久久久免费观看欧美| 国产日韩欧美综合一区| 欧美一区二区三区男人的天堂| 成人激情视频网站| 国精产品一区一区三区mba桃花 | 久久99久久99精品免视看婷婷| 亚洲黄色片在线观看| 国产亚洲成aⅴ人片在线观看| 欧美精品在线一区二区| 色婷婷av一区| voyeur盗摄精品| 国产在线精品视频| 轻轻草成人在线| 亚洲午夜电影在线观看| 日韩毛片在线免费观看| 国产女人aaa级久久久级 | 色久综合一二码| 成人动漫一区二区在线| 国产最新精品免费| 免费精品视频在线| 亚洲gay无套男同| 一区二区三区久久| 中文字幕中文在线不卡住| 久久婷婷国产综合国色天香| 91精品国产综合久久精品性色| 91久久精品一区二区| caoporn国产一区二区| 国产精品白丝av| 卡一卡二国产精品| 美女性感视频久久| 日本怡春院一区二区| 日韩中文字幕区一区有砖一区| 亚洲综合999| 一区二区免费在线播放| 亚洲三级久久久| 成人免费在线观看入口| 亚洲国产精品成人综合色在线婷婷 | 久久机这里只有精品| 日本不卡不码高清免费观看| 亚洲成a人v欧美综合天堂| 亚洲成人av一区| 亚洲一区二区三区中文字幕| 一区二区三区在线观看网站| 亚洲精品写真福利| 一区二区三区四区激情| 一卡二卡三卡日韩欧美| 亚洲精品自拍动漫在线| 亚洲精品高清在线| 亚洲一区二区三区中文字幕在线 | 国产亚洲欧美在线| 久久九九国产精品| 国产精品日韩成人| 亚洲天堂2014| 一区二区三区精品久久久| 玉米视频成人免费看| 洋洋av久久久久久久一区| 一二三四社区欧美黄| 五月天国产精品| 精品中文字幕一区二区| 国产a级毛片一区| 成人avav在线| 日本韩国视频一区二区| 欧美亚洲动漫另类| 正在播放亚洲一区| 精品久久久影院| 日本一区二区三区四区| 日韩码欧中文字| 亚洲大尺度视频在线观看| 日本成人中文字幕| 国产乱妇无码大片在线观看| www.色综合.com| 欧美性猛片aaaaaaa做受| 欧美顶级少妇做爰| 久久久久久黄色| 亚洲欧美国产77777| 香蕉久久夜色精品国产使用方法| 捆绑调教美女网站视频一区| 国产成人免费视频| 日本韩国欧美一区二区三区| 欧美一区二区在线观看| 久久久久国产精品麻豆ai换脸 | 日本一区二区免费在线观看视频| 最新成人av在线| 视频一区二区三区在线| 国产一区二区电影| 在线免费不卡电影| 欧美精品一区二区三区在线|