Function wvector_sumsq (o2scl)

O2scl : Function List

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

Compute the weighted sum of squares of data about the specified weighted mean.

This function produces the same results as gsl_stats_wtss_m().

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

Compute the weighted sum of squares of data about the specified weighted mean.

This function produces the same results as gsl_stats_wtss_m().

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

Compute the weighted sum of squares of data about the weighted mean.

This function produces the same results as gsl_stats_wtss().

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

Compute the weighted sum of squares of data about the weighted mean.

This function produces the same results as gsl_stats_wtss().