AccumStat[] newAccumStatArray() { AccumStat[] ret = new AccumStat[N]; for (int i = 0; i < N; i++) { ret[i] = new AccumStat(); } return(ret); }
AccumStat[,] newAccumStatArray2D() { AccumStat[,] ret = new AccumStat[N, N]; for (int i = 0; i < N; i++) { for (int j = 0; j < N; j++) { ret[i, j] = new AccumStat(); } } return(ret); }
AccumStat newAccumStat() { AccumStat ret = new AccumStat(); return(ret); }