- 授权协议: 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)!
设计原本
Frederick P. Brooks, Jr. / InfoQ中文站、王海鹏、高博 / 机械工业出版社 / 2011-1-1 / 55.00元
无论是软件开发、工程还是建筑,有效的设计都是工作的核心。《设计原本:计算机科学巨匠Frederick P. Brooks的思考》将对设计过程进行深入分析,揭示进行有效和优雅设计的方法。 本书包含了多个行业设计者的特别领悟。Frederick P. Brooks, Jr.精确发现了所有设计项目中内在的不变因素,揭示 了进行优秀设计的过程和模式。通过与几十位优秀设计者的对话,以及他自己在几个设计......一起来看看 《设计原本》 这本书的介绍吧!
