public ValueCounts AccumulateRow(CountableRow row) { TotalCount += row.Count; TotalRows++; if (row.IsSuppressed) { SuppressedCount += row.Count; SuppressedRows++; } if (row.IsNull) { NullCount += row.Count; NullRows++; } return(this); }
private static ValueCounts AccumulateRow(ValueCounts vc, CountableRow row) { vc.AccumulateRow(row); return(vc); }
public void Add(CountableRow row) { Add(row.Count, row.CountNoise ?? 0.0); }
public static NoisyCount FromCountableRow(CountableRow row) => WithNoise(row.Count, row.CountNoise ?? 0.0);