1 /*** Statistical computation stuff. **/
3 double erfcc(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],
12 long totalp[POSNUM][POSNUM],
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);