UltraNest
Main Page
Data Structures
Files
File List
Globals
common.h
1
#ifndef ULTRANEST_COMMON
2
#define ULTRANEST_COMMON
3
5
#define LikelihoodFunc void (*Like) (double * Cube, int * ndim, int * nparams, double * lnew, void * userparams)
6
8
typedef
struct
{
10
double
*
coords
;
12
double
*
phys_coords
;
14
double
L
;
15
}
point
;
16
20
typedef
struct
{
21
point
* p;
22
double
weight;
23
}
weighted_point
;
24
30
point
* create_point(
const
unsigned
int
ndim);
31
35
void
free_point(
point
* p);
36
38
double
logaddexp(
const
double
a,
const
double
b);
40
double
logsubexp(
const
double
a,
const
double
b);
41
43
double
compute_distance(
const
unsigned
int
ndim,
const
point
* member,
const
point
* other);
45
double
nearest_rdistance_guess(
const
unsigned
int
ndim,
const
point
** live_points,
const
unsigned
int
nlive_points);
46
47
#endif
point::coords
double * coords
point coordinates on unit cube
Definition:
common.h:10
point::L
double L
likelihood value
Definition:
common.h:14
weighted_point
Definition:
common.h:20
point
Definition:
common.h:8
point::phys_coords
double * phys_coords
"physical" point coordinates, i.e. transformed
Definition:
common.h:12
Generated on Thu Oct 8 2015 10:42:16 for UltraNest by
1.8.9.1