UltraNest
ultranest.h
Go to the documentation of this file.
1 #ifndef ULTRANEST
2 #define ULTRANEST
3 
4 #include "common.h"
5 
16 typedef struct {
18  const char * root;
20  double logZ;
22  double logZerr;
24  double H;
26  unsigned int ndraws;
28  unsigned int niter;
30  unsigned int ndim;
34 
85 ultranest_results ultranest(LikelihoodFunc,
86  const char * root, const int ndim, const int max_samples, const double logZtol,
87  const int nlive_points, unsigned int nsteps);
88 
89 #endif
const char * root
output prefix used
Definition: ultranest.h:18
double logZerr
uncertainty on the evidence
Definition: ultranest.h:22
Definition: common.h:20
double logZ
natural logarithm of the evidence
Definition: ultranest.h:20
Definition: ultranest.h:16
unsigned int niter
total number of iterations
Definition: ultranest.h:28
double H
information
Definition: ultranest.h:24
weighted_point * weighted_points
posterior samples with weights
Definition: ultranest.h:32
unsigned int ndim
number of dimensions
Definition: ultranest.h:30
unsigned int ndraws
number of likelihood evaluations in this run
Definition: ultranest.h:26
ultranest_results ultranest(LikelihoodFunc, const char *root, const int ndim, const int max_samples, const double logZtol, const int nlive_points, unsigned int nsteps)
Definition: ultranest.c:64