文件名称:Base16k
-
所属分类:
- 标签属性:
- 上传时间:2013-04-24
-
文件大小:17.8kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
(1)这是一个伪随机数发生器,周期为2 ^ 19937 - 1,可以用于加密
文件说明如下:
mtrand.h包含文件,包含类的声明
mtrand.cpp的库文件包含非内联成员
mttest.cpp小程序来测试随机数发生器
mttest.out输出文件,用于比较
(2)使用
初始化:两种方式,seed(s) 或seed(array, length).
随机数生成:MTRand_int32产生的32位无符号整数。
MTRand产生均匀的双精度浮点数,在halfopen时间间隔[0,1)(32位分辨率)。
MTRand_open产生均匀的双精度浮点数,在开区间(0,1)(32位分辨率)。
MTRand_closed产生均匀的双精度浮点数,在闭区间[0,1](32位分辨率)。
MTRand53产生均匀的双精度浮点数,在半开区间[0,1)(53位分辨率)。
-(1) This is a pseudo-random number generator, a period of 2 ^ 19937- 1, can be used to encrypt the file descr iption is as follows: mtrand.h include file contains the class declaration mtrand.cpp library file contains non-inline member mttest cpp small program to test the random number generator mttest.out output file for initialization (2): two ways, SEED (s) or seed (array, length) random number generator: MTRand_int32 produce the 32 unsigned integer. MTRand produce uniform double-precision floating-point number, in halfopen time interval [0, 1) (32-bit resolution). MTRand_open produce uniform double-precision floating-point numbers, the open interval (0,1) (32-bit resolution). MTRand_closed produce uniform double-precision floating-point numbers, the closed interval [0, 1] (32-bit resolution). MTRand53 produce uniform double-precision floating-point number, in the half-open interval [0,1) (53-bit resolution).
文件说明如下:
mtrand.h包含文件,包含类的声明
mtrand.cpp的库文件包含非内联成员
mttest.cpp小程序来测试随机数发生器
mttest.out输出文件,用于比较
(2)使用
初始化:两种方式,seed(s) 或seed(array, length).
随机数生成:MTRand_int32产生的32位无符号整数。
MTRand产生均匀的双精度浮点数,在halfopen时间间隔[0,1)(32位分辨率)。
MTRand_open产生均匀的双精度浮点数,在开区间(0,1)(32位分辨率)。
MTRand_closed产生均匀的双精度浮点数,在闭区间[0,1](32位分辨率)。
MTRand53产生均匀的双精度浮点数,在半开区间[0,1)(53位分辨率)。
-(1) This is a pseudo-random number generator, a period of 2 ^ 19937- 1, can be used to encrypt the file descr iption is as follows: mtrand.h include file contains the class declaration mtrand.cpp library file contains non-inline member mttest cpp small program to test the random number generator mttest.out output file for initialization (2): two ways, SEED (s) or seed (array, length) random number generator: MTRand_int32 produce the 32 unsigned integer. MTRand produce uniform double-precision floating-point number, in halfopen time interval [0, 1) (32-bit resolution). MTRand_open produce uniform double-precision floating-point numbers, the open interval (0,1) (32-bit resolution). MTRand_closed produce uniform double-precision floating-point numbers, the closed interval [0, 1] (32-bit resolution). MTRand53 produce uniform double-precision floating-point number, in the half-open interval [0,1) (53-bit resolution).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Base16k/
Base16k/base16k-orig-with-js.html
Base16k/Base16k.cpp
Base16k/Base16k.h
Base16k/base16k.js
Base16k/Base16k.sln
Base16k/Base16k.vcxproj
Base16k/Base16k.vcxproj.filters
Base16k/Base16k.vcxproj.user
Base16k/mtrand.cpp
Base16k/mtrand.h
Base16k/mtreadme.txt
Base16k/stdafx.cpp
Base16k/stdafx.h
Base16k/targetver.h
Base16k/base16k-orig-with-js.html
Base16k/Base16k.cpp
Base16k/Base16k.h
Base16k/base16k.js
Base16k/Base16k.sln
Base16k/Base16k.vcxproj
Base16k/Base16k.vcxproj.filters
Base16k/Base16k.vcxproj.user
Base16k/mtrand.cpp
Base16k/mtrand.h
Base16k/mtreadme.txt
Base16k/stdafx.cpp
Base16k/stdafx.h
Base16k/targetver.h
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.