登录
首页 » 算法 » //产生0

//产生0

于 2022-05-19 发布 文件大小:54.74 kB
0 211
下载积分: 2 下载次数: 1

代码说明:

//产生0-1之间均匀分布一个随机数// /////////////////////////////////////////////////////////////// //传入参数:r--双精度实型变量指针,指向的单元存放随机数种子值//// //传出参数:p:产生0-1之间均匀分布一个随机数 -//0-1 have a uniform distribution between random numbers// //////////////////////////////////// ///////////////////////////// imported parameters : r-- double precision real- variable pointer to the storage unit random number seed////// out parameters : p : 0-1 produce a uniform distribution between random numbers

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Apriori程序实现
    关联规则挖掘算法Apriori的C#程序实现;学习关联规则挖掘及算法实现的有用资料。包含:Apriori.exe,Apriori.sln,Form1.cs,Trans.cs,说明.txt等几个文档。
    2022-01-24 12:57:33下载
    积分:1
  • 德州扑克牌值计
    POKER 计算值   斗地主  扎金花都离不开它  This article for the budding poker AI programmer provides a foundation for a simple implementation of No-Limit Texas Holdem Poker AI, covering the basics of hand strength evaluation and betting. By following the recipe set out here, you will quickly become able to implement a reasonably strong poker AI, and have a solid foundation on which to build. I assume you are familiar with the basic terminology of poker.
    2022-08-15 11:28:52下载
    积分:1
  • VC++ 实现逐行读取txt文本文件
    VC 实现逐行读取txt文本文件
    2022-01-25 22:26:03下载
    积分:1
  • 径向基函数隐式曲面代码
    包含径向基函数的隐式曲面重建算法,可以得到隐式曲面的表达式,包含求解的过程,和一些主要的算法。
    2022-01-26 01:39:59下载
    积分:1
  • 封装好的C++MD5
    应用背景md5的典型应用是对一段信息(message)产生信息摘要(message-digest),以防止被篡改。比如,在unix下有很多软件在下载的时候都有一个文件名相同,文件扩展名为.md5的文件,在这个文件中通常只有一行文本,大致结构如:  md5 (tanajiya.tar.gz) = 0ca175b9c0f726a831d895e269332461 这就是tanajiya.tar.gz文件的数字签名。md5将整个文件当作一个大文本信息,通过其不可逆的字符串变换算法,产生了这个唯一的md5信息摘要。如果在以后传播这个文件的过程中,无论文件的内容发生了任何形式的改变(包括人为修改或者下载过程中线路不稳定引起的传输错误等),只要你对这个文件重新计算md5时就会发现信息摘要不相同,由此可以确定你得到的只是一个不正确的文件。如果再有一个第三方的认证机构,用md5还可以防止文件作者的"抵赖",这就是所谓的数字签名应用。  md5还广泛用于加密和解密技术上。比如在unix系统中用户的密码就是以md5(或其它类似的算法)经加密后存储在文件系统中。当用户登录的时候,系统把用户输入的密码计算成md5值,然后再去和保存在文件系统中的md5值进行比较,进而确定输入的密码是否正确。通过这样的步骤,系统在并不知道用户密码的明码的情况下就可以确定用户登录系统的合法性。这不但可以避免用户的密码被具有系统管理员权限的用户知道,而且还在一定程度上增加了密码被破解的难度。  正是因为这个原因,现在被黑客使用最多的一种破译密码的方法就是一种被称为"跑字典"的方法。有两种方法得到字典,一种是日常搜集的用做密码的字符串表,另一种是用排列组合方法生成的,先用md5程序计算出这些字典项的md5值,然后再用目标的md5值在这个字典中检索。我们假设密码的最大长度为8位字节(8 bytes),同时密码只能是字母和数字,共26+26+10=62个字符,排列组合出的字典的项数则是p(62,1)+p(62,2)….+p(62,8),那也已经是一个很天文的数字了,存
    2022-03-19 09:13:23下载
    积分:1
  • 信号相位匹配原理的正弦信号参数的最小二乘估计
    信号相位匹配原理的正弦信号参数的最小二乘估计-Parameter estimation of sinusoidal signals by using principle of signal matched-phase
    2022-06-03 13:30:00下载
    积分:1
  • RFID indoor location identification for construction projects
    资源描述This paper presents a lowcost indoor location identification and material tracking methodology for construction projects using Ultra High Frequency (UHF) passive Radio Frequency Identification (RFID) technology. Onsite location aware information is an emerging area that focuses on automating delivery of spatial information pertinent to location of materials, workforce, and equipment. This spatial information can be used to derive knowledge about construction project status. A two-step algorithm is presented to automate the process of location estimation and material tracking in near-real-time. In this methodology, a number of passive RFID tags are distributed onsite where work is progressing, and a mobile RFID reader is carried by a worker onsite. Each passive RFID tag is deployed as a reference point with a known location (landmark) within a predefined zone. Reference tags of known locations are used to d
    2022-03-02 08:24:10下载
    积分:1
  • 使用Chebyshev 多项式进行数值拟合的
    使用Chebyshev 多项式进行数值拟合的算法-use of Chebyshev polynomials numerical fitting algorithm
    2023-02-09 23:00:04下载
    积分:1
  • opencv_orb 检测
    根据前面surf简化版的结构,重新把ORB检测的代码给简化以下,发现虽然速度一样,确实能省好多行代码,关键是有 BruteForceMatchermatcher的帮忙,直接省的写了一个函数; NB类型:class gpu::BruteForceMatcher_GPU
    2022-02-03 07:04:10下载
    积分:1
  • 限制人口增长的分歧
    有限的人口可视化模型增长,显示著名的最著名的分叉图。蛛网迭代图也包括在内。
    2022-01-25 22:57:28下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载