Annotation of OpenXM/src/hgm/mh/src/mh.h, Revision 1.9
1.9 ! takayama 1: /* $OpenXM: OpenXM/src/hgm/mh/src/mh.h,v 1.8 2014/03/15 00:43:47 takayama Exp $ */
1.1 takayama 2: struct cWishart {
3: double x;
4: double rank;
5: double *f; /* f[0],...,f[rank-1] */
6: void *aux;
7: void *aux2;
8: };
9:
10: /* Cumulative probability distribution function of the first eigenvalue of
11: Wishart matrix by Series */
12: struct cWishart *mh_cwishart_s(int m,int n,double beta[],double x0,
1.9 ! takayama 13: int approxDeg,double h, int dp, double x,
! 14: int automatic,double assigned_series_error,
! 15: int verbose);
1.1 takayama 16: /* Cumulative probability distribution function of the first eigenvalue of
17: Wishart matrix by HGM */
18: struct cWishart *mh_cwishart_hgm(int m,int n,double beta[],double x0,
1.9 ! takayama 19: int approxDeg, double h, int dp, double x,
! 20: int automatic,double assigned_series_error,
! 21: int verbose);
1.3 takayama 22: struct cWishart *mh_cwishart_gen(int m,int n,double beta[],double x0,
1.9 ! takayama 23: int approxDeg,double h, int dp, double x,int modep[],
! 24: int automatic,double assigned_series_error,
! 25: int verbose);
1.1 takayama 26: struct cWishart *new_cWishart(int rank);
1.6 takayama 27:
28: int mh_usage(void);
29: void mh_freeWorkArea(void);
30: void mh_rf(double x, double *f, int rank_not_used, double *val, int n_not_used);
1.7 takayama 31: void mh_set_strategy(int s,double err[2]);
32:
1.8 takayama 33: #define STRATEGY_DEFAULT 1
34: /* Five significant digits for checking MH_abserr. cf. M_assigned_series_error */
35: #define SIGDIGIT_DEFAULT (1e-4)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>