检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:刘斌[1]
机构地区:[1]广州大学计算机科学与教育软件学院,广州510006
出 处:《电脑编程技巧与维护》2010年第22期33-34,共2页Computer Programming Skills & Maintenance
摘 要:C语言提供的随机函数类型单一,理论上是分布均匀的非负整数。系统介绍了把整型的随机函数转换为其他类型随机数的方法,详细介绍了运用高尔顿原理编写的转换函数,该函数把均匀分布的随机数加工为正态分布的随机数,并用图形展示了运行测试的结果。The C language provides the random function type is unitary,theoretically is the distribution even nonnegative integer.This article system introduced transforms the trueing random function into other type random number method,introduced specially in detail the author utilizes the Galton principle compilation the transfer function,this function uniform distribution's random number processing for normal distribution's random number,and has demonstrated with the graph the movement test result.
分 类 号:O211.3[理学—概率论与数理统计]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.191.171.178