Function wvector_stddev_fmean (o2scl)

O2scl : Function List

template<class vec_t, class vec2_t>
double o2scl::wvector_stddev_fmean(size_t n, const vec_t &data, const vec2_t &weights, double wmean)

Compute the standard deviation of a weighted vector with a mean known in advance.

This function produces the same results as gsl_stats_wsd_with_fixed_mean().

template<class vec_t, class vec2_t>
double o2scl::wvector_stddev_fmean(const vec_t &data, const vec2_t &weights, double wmean)

Compute the standard deviation of a weighted vector with a mean known in advance.

This function produces the same results as gsl_stats_wsd_with_fixed_mean().