Elaboradar
0.1
radarelab
Statistic
clear
compute_dev_std
compute_intercept
compute_mean
compute_slope
compute_variance
◆
compute_mean()
template<typename T >
radarelab::Statistic
< T >::compute_mean
(
unsigned
minimum
=
1
)
inline
Compute mean of the distribution of
x
values.
Parametri
[in]
minimum
Minimum 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
}
Generato Mer 12 Apr 2023 00:00:00 per Elaboradar da
1.9.1