37 #ifndef distribution_H 38 #define distribution_H 52 Ostream&
operator<<(Ostream&,
const distribution&);
112 void add(
const scalar valueToAdd);
distribution()
Construct null.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual ~distribution()
Destructor.
void add(const scalar valueToAdd)
Add a value to the appropriate bin of the distribution.
TypeName("distribution")
Runtime type information.
An ordered pair of two objects of type <T> with first() and second() elements.
friend Ostream & operator<<(Ostream &, const distribution &)
Accumulating histogram of values. Specified bin resolution automatic generation of bins...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
label totalEntries() const
static void write(const fileName &file, const List< Pair< scalar >> &pairs)
Write to file.
List< Pair< scalar > > normalised()
List< Pair< scalar > > normalisedMinusMean()
scalar approxTotalEntries() const
List< Pair< scalar > > normalisedShifted(scalar shiftValue)
Ostream & operator<<(Ostream &, const ensightPart &)
void operator=(const distribution &)
List< Pair< scalar > > raw()
A HashTable to objects of type <T> with a label key.