Efficient Algorithm for Generating Maxwell Random Variables

被引:2
作者
Mohamed, Nader M. A. [1 ]
机构
[1] Atom Energy Author, ETRR 2, Cairo, Egypt
关键词
Rejection-acceptance sampling; Generating Maxwell random variables;
D O I
10.1007/s10955-011-0364-y
中图分类号
O4 [物理学];
学科分类号
0702 ;
摘要
A fast, easily implemented and high efficiency algorithm is derived for sampling from the Maxwell distribution. The algorithm is derived from the rejection-acceptance sampling method using the simple exponential decay function as an envelope function for the Maxwell distribution. The derived algorithm requires less number of random numbers per iteration, consumes less number of random numbers per sample and requires less expensive computation functions than the direct and Johnk's algorithms. The speed of the proposed algorithm is about 1.6 times that of the direct algorithm and is about 1.5 times that of Johnk's algorithm. Since the proposed algorithm for sampling from Maxwell distribution verified high efficiency and speed, Watt random variables can be generated by transforming Maxwell random variables generated by the proposed algorithm. The speed of generating Watt random variables using the proposed algorithm is about 1.1 times that generated from Kalos's algorithm.
引用
收藏
页码:1653 / 1660
页数:8
相关论文
共 15 条
[1]  
[Anonymous], 2003, MCNP GEN MONTE CARLO, V1.
[2]  
Bielajew A.F., 2001, Fundamentals of the Monte Carlo method for neutral and charged particle transport
[3]   A NOTE ON THE GENERATION OF RANDOM NORMAL DEVIATES [J].
BOX, GEP ;
MULLER, ME .
ANNALS OF MATHEMATICAL STATISTICS, 1958, 29 (02) :610-611
[4]  
BROWN FB, 2005, 2005 F JOLIOT O HAHN
[5]  
Devroye L., 1986, NONUNIFORM RANDOM VA
[6]  
Everett C.J., 1983, LA9721MS LOS AL NAT
[7]  
FOG A, 2008, SAMPLING METHODS
[8]  
KALOS M.H., 1968, Computing Methods in Reactor Physics
[9]  
Kalos MalvinH., 1986, Monte Carlo methods, V1st
[10]  
Lamarch JR., 1983, INTRO NUCL ENG