15 namespace Statistics {
23 T
mean(
const T *v,
const int &dimension = 3);
29 T
mean(
const std::vector<T> &v);
37 T
var(
const T *v,
const int &dimension = 3);
43 T
var(
const std::vector<T> &v);
56 const int &dimension1 = 3,
57 const int &dimension2 = 3);
64 T
cov(
const std::vector<T> &v1,
const std::vector<T> &v2);
77 const int &dimension1 = 3,
78 const int &dimension2 = 3);
85 T
corr(
const std::vector<T> &v1,
const std::vector<T> &v2);
T mean(const T *v, const int &dimension=3)
T cov(const T *v1, const T *v2, const int &dimension1=3, const int &dimension2=3)
T var(const T *v, const int &dimension=3)
T corr(const T *v1, const T *v2, const int &dimension1=3, const int &dimension2=3)