normalize method
Implementation
Histogram<T> normalize() {
final total = fold<int>(0, (int v, BinCount<T> e) => v + e.count);
return map((e) => HistBin(e.extent, e.count / total)).toList();
}
Histogram<T> normalize() {
final total = fold<int>(0, (int v, BinCount<T> e) => v + e.count);
return map((e) => HistBin(e.extent, e.count / total)).toList();
}