- 授权协议: MIT
- 开发语言: Swift
- 操作系统: OS X
- 软件首页: https://github.com/SebastianOsinski/SwiftRandom
软件介绍
SwiftRandom 是一组函数集合,可以从不同的分布生成伪随机变量。
使用示例:
//Single pseudorandom normal variable //with mean 0 and standard deviation 1 let x = SwiftRandom.randomNormal(mean: 0, standardDeviation: 1)! //Array of pseudorandom independent normal variables //with mean 0 and standard deviation 1 and length 10 let sample = SwiftRandom.randomNormalArray(mean: 0, standardDeviation: 1, sampleLength: 10)! //Sampling from array: //with replacement let numbers = [10, 11, 45, 1, 0, 4] let bootstrapSample = SwiftRandom.samplingWithReplacementFromArray(numbers, sampleLength: 10)! //without replacement let names = ["John", "Bob", "Anna", "Alice", "Chris", "Luke"] let usersOrder = SwiftRandom.samplingWithoutReplacementFromArray(names, sampleLength: 4)!
Rails Cookbook
奥西尼 / 江苏东南大学 / 2007-6 / 68.00元
Rails是业界领先的新一代Web 2.0应用程序开发框架,而这本《Rails Cookbook》里充满了为了让你成为Rails开发专家而准备的各种解决方案。讨论范围覆盖了从基本概念,如安装Rails及设置开发环境,到最新的各种技巧,如开发符合REST协议规范的Web服务等。 Rails可提供更轻量级的代码、更丰富的功能和更快捷的量身定制过程,由此带来了一场Web开发革命。《Rails Co......一起来看看 《Rails Cookbook》 这本书的介绍吧!
