Function wvector_covariance (o2scl)

O2scl : Function List

template<class vec_t, class vec2_t, class vec3_t>
double o2scl::wvector_covariance(size_t n, const vec_t &data1, const vec2_t &data2, const vec3_t &weights)

The weighted covariance of two vectors.

Note

Experimental

template<class vec_t, class vec2_t, class vec3_t>
double o2scl::wvector_covariance(const vec_t &data1, const vec2_t &data2, const vec3_t &weights)

The weighted covariance of two vectors.

Note

Experimental