Lines Matching refs:counts
41 protected final int totalWeight; // sum of all counts
46 protected final int[] counts; // counts, same order as values
58 counts = table[1];
68 /** Build a histogram given a compact matrix of counts and values. */
95 counts = table[0]; //backwards
160 return counts;
170 return counts[pos];
392 int[] counts = new int[hist2col.length];
393 for (int i = 0; i < counts.length; i++) {
394 counts[i] = (int)( hist2col[i] >>> 32 );
396 long[] countHist = computeHistogram2Col(counts);
430 /** Simple two-column histogram. Contains repeated counts.
493 * In the new histogram, the counts are averaged over row entries.
629 // make sure the counts all add up
632 assert(vlength == counts.length);
634 for (int i = 0; i < counts.length; i++) {
635 weight2 += counts[i];
649 assert(counts[pos] == matrix[i][0]);