29 #ifndef SCIMATH_STATACC_H
30 #define SCIMATH_STATACC_H
40 template <
class T>
class Array;
41 template <
class T>
class Block;
150 inline void put(
const T v);
151 inline void put(
const T v,
const Float w);
218 #ifndef CASACORE_NO_AUTO_TEMPLATES
219 #include <casacore/scimath/Mathematics/StatAcc.tcc>
220 #endif //# CASACORE_NO_AUTO_TEMPLATES
void put1(const T, const Float)
Accumulate a single weighted value.
Fallible< Double > getMin() const
void reset()
Reset or copy the accumulator attributes.
Fallible< Double > getVariance() const
void put(const T v)
Accumulate input value(s) v with weight w.
void printSummaryLineHeader(std::ostream &, const String &caption) const
StatAcc & operator=(const StatAcc &)
Operators for adding and copying accumulators.
Double getWtot() const
Get statistics results one at a time.
void printSummaryList(std::ostream &, const String &caption) const
Print summary of accumulated statistics.
Fallible< Double > getMax() const
StatAcc()
constructors and destructor.
Fallible< Double > getMean() const
Fallible< Double > getRms() const
Fallible< Double > getRmsAbs() const
void copy(const StatAcc &)
Mark a value as valid or invalid.
template <class T, class U> class vector;
StatAcc & operator+=(const StatAcc &)
StatAcc operator+(const StatAcc &)
String: the storage and methods of handling collections of characters.
void printSummaryLine(std::ostream &, const String &caption) const
A statistics accumulator.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.