Protected Member Functions | List of all members
mirtk::data::statistic::MeanVar Class Reference

Base class of statistics which compute mean, variance, and/or standard deviation. More...

#include <DataStatistics.h>

Inheritance diagram for mirtk::data::statistic::MeanVar:
Inheritance graph
Collaboration diagram for mirtk::data::statistic::MeanVar:
Collaboration graph

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.
 

Detailed Description

Base class of statistics which compute mean, variance, and/or standard deviation.

Definition at line 631 of file DataStatistics.h.


The documentation for this class was generated from the following file: