Functions wvector_stddev¶
-
template<class
vec_t
, classvec2_t
>
doubleo2scl
::
wvector_stddev
(size_t n, const vec_t &data, const vec2_t &weights)¶ Compute the standard deviation of a weighted vector where mean is computed automatically.
This function produces the same results as
gsl_stats_wsd()
.
-
template<class
vec_t
, classvec2_t
>
doubleo2scl
::
wvector_stddev
(const vec_t &data, const vec2_t &weights)¶ Compute the standard deviation of a weighted vector where mean is computed automatically.
This function produces the same results as
gsl_stats_wsd()
.