#include <running_stat_bones.hpp>
Public Types | |
typedef get_pod_type< eT >::result | T |
Public Member Functions | |
T | count () const |
number of samples so far More... | |
eT | max () const |
maximum value More... | |
eT | mean () const |
mean or average value More... | |
eT | min () const |
minimum value More... | |
void | operator() (const T sample) |
void | operator() (const std::complex< T > &sample) |
void | reset () |
set all statistics to zero More... | |
running_stat () | |
T | stddev (const uword norm_type=0) const |
standard deviation More... | |
T | var (const uword norm_type=0) const |
variance More... | |
~running_stat () | |
Private Attributes | |
arma_aligned arma_counter< T > | counter |
arma_aligned eT | max_val |
arma_aligned T | max_val_norm |
arma_aligned eT | min_val |
arma_aligned T | min_val_norm |
arma_aligned eT | r_mean |
arma_aligned T | r_var |
Friends | |
class | running_stat_aux |
Class for keeping statistics of a continuously sampled process / signal. Useful if the storage of individual samples is not necessary or desired. Also useful if the number of samples is not known beforehand or exceeds available memory.
Definition at line 49 of file running_stat_bones.hpp.
typedef get_pod_type<eT>::result running_stat< eT >::T |
Definition at line 53 of file running_stat_bones.hpp.
|
inline |
|
inline |
|
friend |
Definition at line 91 of file running_stat_bones.hpp.
|
private |
Definition at line 79 of file running_stat_bones.hpp.
|
private |
Definition at line 85 of file running_stat_bones.hpp.
|
private |
Definition at line 88 of file running_stat_bones.hpp.
|
private |
Definition at line 84 of file running_stat_bones.hpp.
|
private |
Definition at line 87 of file running_stat_bones.hpp.
|
private |
Definition at line 81 of file running_stat_bones.hpp.
|
private |
Definition at line 82 of file running_stat_bones.hpp.