use of gnu.trove.list.array.TDoubleArrayList in project GDSC-SMLM by aherbert.
the class OptimiserFunction method addData.
public void addData(float[] x, float[] y) {
this.x = new TDoubleArrayList();
this.y = new TDoubleArrayList();
for (int i = 0; i < x.length; i++) {
this.x.add((double) x[i]);
this.y.add((double) y[i]);
}
}
Aggregations