A Fortran 90 interface to random number generation
收藏doi.org2025-03-25 收录
下载链接:
http://doi.org/10.17632/7wyc9j4kr4.1
下载链接
链接失效反馈官方服务:
资源简介:
Abstract
A Fortran 90 MODULE has been implemented which is used to replace the intrinsic random number generation subroutines RANDOM_NUMBER and RANDOM_SEED with a user-defined generator. It is shown how the new features of Fortran 90 can be used to define a set of user subroutines that behave as the intrinsic procedures do, and thus provide a convenient way to interface to arbitrary random number generators without the need to change the calls to the random number generator in the user program. Implem...
Title of program: random__module
Catalogue Id: ADBR_v1_0
Nature of problem
Any Fortran 90 program requiring uniform pseudorandom numbers, for example Monte Carlo simulations.
Versions of this program held in the CPC repository in Mendeley Data
ADBR_v1_0; random__module; 10.1016/0010-4655(95)00065-N
This program has been imported from the CPC Program Library held at Queen's University Belfast (1969-2019)
摘要:本报告实现了一个 Fortran 90 模块,用以替换内置的随机数生成子程序 RANDOM_NUMBER 和 RANDOM_SEED,以便使用用户自定义的生成器。文中展示了如何利用 Fortran 90 的新特性来定义一组用户子程序,使其行为与内置过程一致,从而为任意随机数生成器提供一种便捷的接口方式,无需修改用户程序中对随机数生成器的调用。该模块的具体实现...
程序名称:random__module
目录编号:ADBR_v1_0
问题性质:任何需要均匀伪随机数的 Fortran 90 程序,例如蒙特卡洛模拟。
本程序版本存放在 CPC 程序库的 Mendeley 数据中:ADBR_v1_0; random__module; 10.1016/0010-4655(95)00065-N
本程序已从贝尔法斯特女王大学(1969-2019)所持有的 CPC 程序库中导入。
提供机构:
doi.org



