04 2014 档案
[objective-c] 正态分布概率函数
摘要:网上找来的 mark之No need for anything fancy. Any platform with a good C99 math library (like the iphone) already has everything you need -- specifically theerfcfunction, which is a slight variant:#import double cumulativeNormal(double x){return0.5* erfc(-x * M_SQRT1_2);}Note this is for the standard norma 阅读全文
posted @ 2014-04-06 11:46 ImpGeek 阅读(537) 评论(0) 推荐(0)