29 #ifndef SCIMATH_STATACC_H
30 #define SCIMATH_STATACC_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/BasicMath/Math.h>
34 #include <casacore/casa/Utilities/Fallible.h>
35 #include <casacore/casa/iosfwd.h>
36 #include <casacore/casa/Arrays/ArrayFwd.h>
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>
Mark a value as valid or invalid.
void reset()
Reset or copy the accumulator attributes.
Double getWtot() const
Get statistics results one at a time.
void put(const Block< T > &v, const Block< Float > &w)
StatAcc & operator=(const StatAcc &)
Operators for adding and copying accumulators.
StatAcc()
constructors and destructor.
void copy(const StatAcc &)
Fallible< Double > getRms() const
void put(const T v)
Accumulate input value(s) v with weight w.
void put(const Array< T > &v, const Array< Float > &w)
Fallible< Double > getVariance() const
Fallible< Double > getMean() const
void put(const Array< T > &v)
void printSummaryLineHeader(std::ostream &, const String &caption) const
Fallible< Double > getMax() const
void put(const Block< T > &v)
void printSummaryList(std::ostream &, const String &caption) const
Print summary of accumulated statistics.
StatAcc operator+(const StatAcc &)
Fallible< Double > getMin() const
void put1(const T, const Float)
Accumulate a single weighted value.
void printSummaryLine(std::ostream &, const String &caption) const
Fallible< Double > getRmsAbs() const
StatAcc & operator+=(const StatAcc &)
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines