//d = rand()%(n+1);
//printf("d=%d total=%f randPd=%f\n", d, total, randPd);
//printf("!!!d=%d\n", d);
+ //d = 0;
- *k = n; // we will get it to be k=n-d by caling shrinkstar d times below
+ printf("!!\n");
+ fflush(stdout);
+
+ *k = n; // we will get it to be k=n-d by calling shrinkstar d times below
randomX = calloc(n*d,sizeof(float));
randomXcopy = calloc(n*d,sizeof(float));
}
*G = calloc(n, sizeof(int*)); *GBar = calloc(n, sizeof(int*));
-
*h = calloc(n, sizeof(int));
for(i=0; i<n; i++) {