2014年4月6日
摘要: 网上找来的 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 阅读(521) 评论(0) 推荐(0) 编辑