randlcg.h

来自「Nistnet网络仿真软件」· C头文件 代码 · 共 36 行

H
36
字号
/* randlcg.h	prototypes for the minimal standard random number generator,   Linear Congruential Method, the "minimal standard generator"   Park & Miller, 1988, Comm of the ACM, 31(10), pp. 1192-1201  rcsid: @(#)randlcg.h	1.1 15:48:09 11/21/94   EFC*/#ifndef _RANDLCG_H_#define _RANDLCG_H_ 1.1#ifdef __cplusplusextern "C" {#endif#ifdef NO_PROTOlong         set_seed();long         get_seed();unsigned long int randlcg();#elselong         set_seed(long);long         get_seed(long);unsigned long int randlcg();#endif#ifdef __cplusplus}#endif#endif

⌨️ 快捷键说明

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