Elaboradar  0.1
 Tutto Classi Namespace File Funzioni Variabili Tipi enumerati (enum) Gruppi
template<typename T>
radarelab::Statistic< T >::compute_mean ( unsigned  minimum = 1)
inline

Compute mean of the distribution of x values.

Parametri
[in]minimumMinimum amount of accumulated data to perform the computation
Restituisce
value of the mean. If N is less the minimum returns NaN

Definizione alla linea 177 del file statistics.h.

178  {
179  if(N>=minimum)
180  return mean;
181  else return sqrt(-1);
182  }