Refactor and add tests (fixes #2963) (#2964)

This commit is contained in:
leren1
2022-03-10 18:56:26 +01:00
committed by GitHub
parent f0b52022e8
commit 49a4a83ada
3 changed files with 180 additions and 21 deletions

View File

@ -38,7 +38,7 @@ public class Gaussian {
return mat;
}
// calcilate the x_1, x_2,... values of the gaussian and save it in an arraylist.
// calculate the x_1, x_2,... values of the gaussian and save it in an arraylist.
public static ArrayList<Double> valueOfGaussian(int mat_size, double[][] x, double[][] mat) {
ArrayList<Double> answerArray = new ArrayList<Double>();
int i, j;