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
阅读全文
浙公网安备 33010602011771号