JPRED-2 Add sources of all binaries (except alscript) to Git
[jpred.git] / sources / multicoil / stats.h
diff --git a/sources/multicoil/stats.h b/sources/multicoil/stats.h
new file mode 100644 (file)
index 0000000..48bb1f3
--- /dev/null
@@ -0,0 +1,19 @@
+/*** Statistical computation stuff.  **/
+
+double erfcc(double x);
+double erf(double x);
+int calcweight(long pfreqs[AANUM][POSNUM],
+              long pfreqp[AANUM][AANUM][POSNUM][POSNUM],
+              double gprobs[NUM_RES_TYPE],
+              double gprobp[NUM_RES_TYPE][NUM_RES_TYPE][POSNUM],
+              double weights[AANUM][POSNUM],
+              double weightp[AANUM][AANUM][POSNUM][POSNUM],
+              long totals[POSNUM],
+              long totalp[POSNUM][POSNUM],
+              FILE *weight_file);
+
+
+void combine_many_weight(int current_table);
+void calc_distance_weights(double dist_weight[POSNUM]);
+double sigma(double x, int power, double middle);
+