Milena (Olena)
User documentation 2.0a Id
|
Var accumulator class. More...
#include <var.hh>
Inherits mln::accu::internal::base< algebra::mat< T::dim, T::dim, float >, var< T > >.
Public Types | |
typedef algebra::vec< dim, float > | mean_t |
Type equipment. | |
Public Member Functions | |
bool | is_valid () const |
Check whether this accu returns a valid result. | |
mean_t | mean () const |
Get the mean vector. | |
unsigned | n_items () const |
Get the number of items. | |
void | take_as_init (const T &t) |
Take as initialization the value t . | |
void | take_n_times (unsigned n, const T &t) |
Take n times the value t . | |
result | to_result () const |
Get the accumulator result (the var value). | |
result | variance () const |
Get the variance matrix. | |
void | init () |
Manipulators. | |
Var accumulator class.
Parameter T
is the type of vectors
Definition at line 58 of file accu/stat/var.hh.
typedef algebra::vec<dim,float> mln::accu::stat::var< T >::mean_t |
Type equipment.
Definition at line 88 of file accu/stat/var.hh.
|
inline |
Manipulators.
Definition at line 118 of file accu/stat/var.hh.
|
inline |
Check whether this accu returns a valid result.
Definition at line 213 of file accu/stat/var.hh.
|
inline |
Get the mean vector.
Definition at line 200 of file accu/stat/var.hh.
References mln::literal::zero.
|
inline |
Get the number of items.
Definition at line 192 of file accu/stat/var.hh.
|
inherited |
Take as initialization the value t
.
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
|
inherited |
Take n
times the value t
.
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
|
inline |
Get the accumulator result (the var value).
Definition at line 168 of file accu/stat/var.hh.
References mln::literal::zero.
|
inline |
Get the variance matrix.
Definition at line 184 of file accu/stat/var.hh.