Base class of statistics which compute mean, variance, and/or standard deviation. More...
#include <DataStatistics.h>
Protected Member Functions | |
MeanVar (int nvalues, const char *desc=nullptr, const Array< string > *names=nullptr) | |
Constructor. | |
Protected Member Functions inherited from mirtk::data::Statistic | |
Statistic (int nvalues, const char *desc=nullptr, const Array< string > *names=nullptr) | |
Constructor. | |
void | Value (double v) |
Set value of statistic (first entry of _Values vector) | |
Additional Inherited Members | |
Public Member Functions inherited from mirtk::data::Statistic | |
virtual void | Evaluate (Array< double > &, int, const double *, const bool *=nullptr) const =0 |
Evaluate statistic for given data. | |
mirtkOnOffMacro (Hidden) | |
Hide/Show statistic in output report. | |
virtual void | Print (ostream &os=cout, int digits=5, const char *prefix="") const |
Print statistic to output stream as "<desc> = <value>". | |
virtual void | PrintHeader (ostream &os=cout, const char *delimiter=",") const |
Print column names of statistic values to output stream. | |
virtual void | PrintValues (ostream &os=cout, int digits=5, const char *delimiter=",") const |
Print delimited statistic values to output stream. | |
virtual void | Process (int n, double *data, bool *mask=nullptr) |
Process given data. | |
virtual const double & | Value () const |
virtual | ~Statistic () |
Destructor. | |
Public Member Functions inherited from mirtk::data::Op | |
virtual | ~Op () |
Destructor. | |
Base class of statistics which compute mean, variance, and/or standard deviation.
Definition at line 631 of file DataStatistics.h.