43 TMatrix *outMat,
unsigned int nVal,
unsigned int patchNbr,
44 bool doRandomize =
false);
46extern double my_mean (
double *data,
unsigned int size);
55 unsigned int size1,
unsigned int size2);
57extern unsigned long nChooseK(
int n,
int k);
59extern vector< vector<int> >
nChooseKVec(
int n,
int k);
A class to handle matrix in params, coerces matrix into a vector of same total size.
Definition: tmatrix.h:49
vector< vector< int > > nChooseKVec(int n, int k)
Definition: utils.cc:197
double my_variance_with_fixed_mean_no_nan(double *data, unsigned int size, double mean)
Definition: utils.cc:73
double my_mean(double *data, unsigned int size)
Definition: utils.cc:37
unsigned long nChooseK(int n, int k)
Definition: utils.cc:173
bool setSpatialMatrix(string param, string numColCondition, TMatrix *inMat, TMatrix *outMat, unsigned int nVal, unsigned int patchNbr, bool doRandomize=false)
Definition: utils.cc:114
double my_variance_with_fixed_mean(double *data, unsigned int size, double mean)
Definition: utils.cc:62
double my_mean_no_nan(double *data, unsigned int size)
Definition: utils.cc:48
double my_covariance_no_nan(double *data1, double *data2, unsigned int size1, unsigned int size2)
Definition: utils.cc:87