JPRED-2 Add sources of all binaries (except alscript) to Git
[jpred.git] / sources / multicoil / stats.h
1 /*** Statistical computation stuff.  **/
2
3 double erfcc(double x);
4 double erf(double x);
5 int calcweight(long pfreqs[AANUM][POSNUM],
6                long pfreqp[AANUM][AANUM][POSNUM][POSNUM],
7                double gprobs[NUM_RES_TYPE],
8                double gprobp[NUM_RES_TYPE][NUM_RES_TYPE][POSNUM],
9                double weights[AANUM][POSNUM],
10                double weightp[AANUM][AANUM][POSNUM][POSNUM],
11                long totals[POSNUM],
12                long totalp[POSNUM][POSNUM],
13                FILE *weight_file);
14
15
16 void combine_many_weight(int current_table);
17 void calc_distance_weights(double dist_weight[POSNUM]);
18 double sigma(double x, int power, double middle);
19