gsl_vegas2_state Class Reference

#include <gsl_vegas2.h>


Detailed Description

Desc.

Definition at line 40 of file gsl_vegas2.h.


Public Types

typedef int coord

Public Member Functions

int alloc (size_t ldim)
 Desc.
int init ()
void free ()
 Desc.
void init_box_coord (coord boxt[])
 Desc.
int change_box_coord (coord boxt[])
 Desc.
template<class vec_t>
void init_grid (const vec_t &xl, const vec_t &xu, size_t ldim)
 Desc.
void reset_grid_values ()
 Desc.
void accumulate_distribution (coord lbin[], double y)
 Desc.
template<class vec_t, class rng_t>
void random_point (vec_t &lx, coord lbin[], double *bin_vol, const coord lbox[], const vec_t &xl, const vec_t &xu, rng_t &r)
 Desc.
void resize_grid (unsigned int lbins)
 Desc.
void refine_grid ()
 Desc.
template<class vec_t>
void print_lim (std::ostream *outs, const vec_t &xl, const vec_t &xu, unsigned long ldim)
 Desc.
void print_head (std::ostream *outs, unsigned long num_dim, unsigned long calls, unsigned int lit_num, unsigned int lbins, unsigned int lboxes)
 Desc.
void print_res (std::ostream *outs, unsigned int itr, double res, double err, double cum_res, double cum_err, double chi_sq)
 Desc.
void print_dist (std::ostream *outs, unsigned long ldim)
 Desc.
void print_grid (std::ostream *outs, unsigned long ldim)
 Desc.

Data Fields

size_t dim
size_t bins_max
unsigned int bins
unsigned int boxes
double * xi
double * xin
double * delx
double * weight
double vol
int * bin
int * box
double * d
double alpha
int mode
int verbose
unsigned int iterations
int stage
double jac
double wtd_int_sum
double sum_wgts
double chi_sum
double chisq
double result
double sigma
unsigned int it_start
unsigned int it_num
unsigned int samples
unsigned int calls_per_box

Static Public Attributes

static const int GSL_VEGAS2_MODE_IMPORTANCE = 1
static const int GSL_VEGAS2_MODE_IMPORTANCE_ONLY = 0
static const int GSL_VEGAS2_MODE_STRATIFIED = -1
static const int BINS_MAX = 50

Member Function Documentation

int change_box_coord ( coord  boxt[]  )  [inline]

Desc.

change_box_coord steps through the box coord like {0,0}, {0, 1}, {0, 2}, {0, 3}, {1, 0}, {1, 1}, {1, 2}, ...

Definition at line 204 of file gsl_vegas2.h.


The documentation for this class was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page