X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=pkg%2Fsrc%2Ffunctions.c;h=1f355857e28d2510dbe5219942124e25163b1b66;hb=0f5fbd1371011f25cd1f6caf0e826d2ea9e4e245;hp=e534c57200a1e1c0843f8a335a71bf6b395c02f7;hpb=6dd5c2acccd10635449230faa824b7e8906911bf;p=morpheus.git diff --git a/pkg/src/functions.c b/pkg/src/functions.c index e534c57..1f35585 100644 --- a/pkg/src/functions.c +++ b/pkg/src/functions.c @@ -54,6 +54,8 @@ void Moments_M3(double* X, double* Y, int* pn, int* pd, double* M3) } } +#include + // W = 1/N sum( t(g(Zi,theta)) g(Zi,theta) ) // with g(Zi, theta) = i-th contribution to all moments (size dim) - real moments void Compute_Omega(double* X, double* Y, double* M, int* pn, int* pd, double* W)