⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 random.h

📁 常用数据结构算法代码库
💻 H
字号:
/****************************************************************************
*
*					Copyright (C) 1991 Kendall Bennett.
*							All rights reserved.
*
* Filename:		$RCSfile: random.h $
* Version:		$Revision: 1.2 $
*
* Language:		ANSI C
* Environment:	any
*
* Description:	Header file for random number module
*
* $Id: random.h 1.2 91/09/27 03:11:08 kjb Exp $
*
* Revision History:
* -----------------
*
* $Log:	random.h $
* Revision 1.2  91/09/27  03:11:08  kjb
* Added compatibility with C++.
* 
* Revision 1.1  91/08/16  10:54:55  ROOT_DOS
* Initial revision
* 
****************************************************************************/

#ifndef	__RANDOM_H
#define	__RANDOM_H

/*----------------------- Function Prototypes -----------------------------*/

#ifdef __cplusplus
extern "C" {
#endif

void randinit(long s);
long randomlong(long range);
double randomfloat(void);
double chisquare(int N,int r,long s);

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -