搜索资源列表
RandomArray
- 实现随机数组生成的方法类,通过该类可以生成随机数组-The method of random arrays generated class, the class can be generated by random array
rl
- 瑞利随机数的生成,通过两个同方差的正态分布而求得,并求出其PDF和CDF-Rayleigh random numbers generated by two normal distribution with variance that obtained and solved its PDF and CDF
Dynamicencryptionanddecryption
- 略简说下解密主要是靠加密后得前8个字节+密钥来运算 而前8个字节是根据随机数+启动时间运算而来 详细思路在大家看看代码应该能够看明白的 密钥任意设置 支持 中文、字母、数字、符号(可重复) 其实过程也并非复杂 看得懂的人应该感觉很简单的 运算主要利用 位异或(xor) 位取反(not) 相同内容 每次加密后的内容都不会相同 随机动态生成 加密后的内容需解密时需要保存完整字节 缺少任意位置字节都会导致解密错误(除非最尾的吧) 密钥(key)也
randomnumber
- 用C代码生成高斯分布的随机数和服从均匀分布的随机数 并生成文本文件-C code generation with Gaussian distribution of random numbers and uniform distribution of the random number and generates a text file
neicun
- 说明 1.模拟页式存储,请求调页采用FIFO算法 2.320条指令的执行顺序生成 随机生成一个0-319的整数,每连续两条指令与该随机数开始的两条指令交换,循环320/2=160次完成 3.这样的执行顺序随机生成方法,首先能保证每条指令都被执行,而且打乱程度较高同时有保留了一些连续指令,从命中率看在0.24左右 -Note 1. Simulation page storage, the request paging algorithm using FIFO execution
Nim
- Nim游戏(The game of Nim)是一个很著名而且有很多版本的游戏.下面这个版本有一个有趣的获胜策略.两名参与者交替从一堆石子中取出若干数目,其个数由参与者自已决定.但是要求参与者每次至少取出一个,至多取出一半,然后另一名参与者继续.拿到最后一个石子的参与者将输掉该游戏. 编写一个程序,让计算机和人较量.在10到100之间生成一个随机数作为初始的石子数目.然后,随机产生0或1,以决定是计算机先玩还是人先玩.然后,再随机产生0或1,以决定计算机采用"聪明"还是"愚蠢"模式.在愚蠢模式
121
- 生成一个随机数序列,最近最久未使用(LRU)置换算法 -The most recent lack of use (LRU) replacement algorithm
suijishu
- 关于随机数生产的文章,通过其中介绍的几种算法可以生成均匀分布等随机数-The article about random production, introduced by which several algorithm can generate random uniform distribution, etc
junyunfenbu
- 用数学的思想编写出的生成均匀分布的1000个随机数,数学思想可参照之前上传的论文-Mathematical ideas to write the generated 1000 uniformly distributed random number,
paixu
- 程序可以使用七种排序算法,包括快速,希尔,推,简单选择等。对生成的随机数进行排列,并比较各种排序算法时间优劣-Program can use the seven ranking algorithms, including fast, Hill, push, simple choice. On the generated random numbers to be ranked, and compare the merits of time sorting algorithm
Test2
- 使用VC界面,生成一个随机数。最大值可调。-Using the VC interface, generates a random number. Maximum adjustable.
yiyuyan
- 易语言做的随机生成七位随机数,自动排列,自动大小比,单双比,和值,平均值-Easy language to do seven randomly generated random numbers, automatic arrangement, automatic size ratio, single and double ratio, and values, the average
shunxu
- 创建一个 VI,计算生成等于某个给定值的随机数所需要的时间。-Create a VI, calculated equal to a given value generated random numbers are required.
Random_number
- 一些matlab中生成随机数的源代码,在数学建模中会用到-Some random number generated in matlab source code will be used in mathematical modeling
code
- (1) 生成n个[0,65535]以内的整数随机数,存入文本文件; (2) 将n个随机数从小到大排序,并显示结果。排序采用k桶法 (3)用函数编制混合同余的伪随机数发生器-(1) generate n-[0,65535] integer random number within, into a text file (2) n random numbers from small to large order, and displays the results. Sort by k B
SPECRND
- 在数值模拟中,需要生成给定分布律的随机数-In numerical simulation,Generating random numbers with given distribution law.
RandomArray
- 用Visual C++快捷的随机数组生成类的源代码-Using Visual C++ quickly generate a random array of the source code of class
VC_quickly_generate_random_array_source_code_class
- VC++快捷的随机数组生成类的源代码VC + + quickly generate a random array of the source code of cla-VC++ quickly generate a random array of the source code of class
MYSQLweiyibiaoshifufangan
- mysql中通需要生成一个由年月日小时分秒和四位随机数组成的十八位的唯一标识符作为流水号,这个函数帮你实现.-mysql in the years through need to generate a four-day hours minutes and seconds and consisting of 18 random unique identifier as a serial number, this function is to help you achieve.
normrand
- 用matlab生成正态随机数,用于数理统计及概率中-to produce the random matrix with matlab