Calculates the counts per bin of a list. More...
#include <Histogram.H>
Public Member Functions | |
| Histogram (const List &bins, const List &l) | |
| Construct given bin values and input list. | |
| Histogram (const typename List::const_reference min, const typename List::const_reference max, const label nBins, const List &l) | |
| Construct given min, max, number of bins and input list. | |
| const labelList & | counts () const |
| Return the counts per bin. | |
| label | nLow () const |
| Return the number of elements <= bins[0]. | |
| label | nHigh () const |
| Return the number of elements > bins[bins.size()-1]. | |
Calculates the counts per bin of a list.
Definition at line 48 of file Histogram.H.
Construct given bin values and input list.
Definition at line 66 of file Histogram.C.
| Histogram | ( | const typename List::const_reference | min, |
| const typename List::const_reference | max, | ||
| const label | nBins, | ||
| const List & | l ) |
Construct given min, max, number of bins and input list.
Definition at line 73 of file Histogram.C.
References Foam::max(), and Foam::min().

Return the counts per bin.
Definition at line 109 of file Histogram.H.
|
inline |
Return the number of elements <= bins[0].
(so inclusive lowest bin value)
Definition at line 119 of file Histogram.H.
|
inline |
Return the number of elements > bins[bins.size()-1].
(so exclusive highest bin value)
Definition at line 129 of file Histogram.H.