use of suite.primitive.Int_Dbl in project suite by stupidsing.
the class Statistic method correlation.
public double correlation(float[] xs, float[] ys) {
Int_Dbl xf = i -> xs[i];
Int_Dbl yf = i -> ys[i];
vec.sameLength(xs, ys);
return correlation(xf, yf, xs.length);
}
Aggregations