当前位置 : 主页 > 编程语言 > java >

Java 计算标准差

来源:互联网 收集:自由互联 发布时间:2021-06-28
gistfile1.txt //标准差σ=sqrt(s^2)public static double StandardDiviation(double[] x) { int m=x.length; double sum=0; for(int i=0;i
gistfile1.txt
//标准差σ=sqrt(s^2)
public static double StandardDiviation(double[] x) {
    int m=x.length;
    double sum=0;
    for(int i=0;i
网友评论