摘要
分形模拟技术的关键之一是可控随机序列的产生方法。该文首先阐述了分形模拟技术中通常直接使用标准 C库中 srand()和 rand()函数进行线性同余来产生随机序列这一方法的不足 ,尝试性地设计出查询随机数表的方法 ,这种方法基本上消除了 rand()函数例程的任意周期性。然后在此基础上重点介绍了均匀分布随机序列、指数分布随机序列和正态分布随机序列这些可控随机序列产生的原理和实现方法 ,并通过实例体现这几种方法的良好效果。
The method to produce the controlled sequences of stochastic numbers is one of the keys in the techniques of fractal and simulation. This paper firstly expatiates the shortcomings of directly using the functions of srand() and rand() from the library of the standard C language to produce the sequences of stochastic numbers by means of linear congruence generation. Then it specially introduces three methods: even distribution,normal distribution and exponential distribution, which are used to give birth to the controlled sequences of stochastic numbers.
出处
《成都理工学院学报》
CAS
CSCD
北大核心
2001年第2期191-194,共4页
Journal of Chengdu University of Technology
关键词
随机序列
均匀分布
正态分布
指数分布
分形模拟技术
随机数
fractal
the sequences of stochastic numbers
even distribution
normal distribution
exponential distribution