Get minimum and maximum values. More...
#include <DataStatistics.h>
Public Member Functions | |
void | Evaluate (Array< double > &values, int n, const double *data, const bool *mask=nullptr) const |
Evaluate statistic for given data. | |
Public Member Functions inherited from mirtk::data::Statistic | |
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. | |
Additional Inherited Members | |
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) | |
Get minimum and maximum values.
Definition at line 458 of file DataStatistics.h.