X-Git-Url: https://git.auder.net/?p=morpheus.git;a=blobdiff_plain;f=pkg%2Fsrc%2Ffunctions.c;h=f311a34d52d7c468f3697ed9669eb2d229423302;hp=68f1b79d60369d596a21c658e2c8e1f5a3aa2213;hb=bbdcfe44da4011574dabb19b4f83e2ab199c667a;hpb=b357ac5457105ee87ad8650d61ad3c3845e0df95 diff --git a/pkg/src/functions.c b/pkg/src/functions.c index 68f1b79..f311a34 100644 --- a/pkg/src/functions.c +++ b/pkg/src/functions.c @@ -54,24 +54,13 @@ 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) { int n=*pn, d=*pd; int dim = d + d*d + d*d*d; - -//printf("X: \n"); -//for (int kk=0; kk