26#ifndef SCIMATH_STATACC_H
27#define SCIMATH_STATACC_H
29#include <casacore/casa/aips.h>
30#include <casacore/casa/BasicMath/Math.h>
31#include <casacore/casa/Utilities/Fallible.h>
32#include <casacore/casa/iosfwd.h>
33#include <casacore/casa/Arrays/ArrayFwd.h>
38template <
class T>
class Block;
147 inline void put(
const T v);
148 inline void put(
const T v,
const Float w);
215#ifndef CASACORE_NO_AUTO_TEMPLATES
216#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)
Fallible< Double > getRms() const
StatAcc()
constructors and destructor.
void copy(const StatAcc &)
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 > getMin() const
StatAcc & operator+=(const StatAcc &)
Fallible< Double > getMean() const
void put(const Array< T > &v)
void printSummaryLineHeader(std::ostream &, const String &caption) const
void put(const Block< T > &v)
void printSummaryList(std::ostream &, const String &caption) const
Print summary of accumulated statistics.
Fallible< Double > getVariance() const
StatAcc operator+(const StatAcc &)
void put1(const T, const Float)
Accumulate a single weighted value.
Fallible< Double > getMax() const
void printSummaryLine(std::ostream &, const String &caption) const
Fallible< Double > getRmsAbs() const
StatAcc & operator=(const StatAcc &)
Operators for adding and copying accumulators.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines