Logo ROOT   6.08/07
Reference Guide
Functions | Variables
testMCIntegration.cxx File Reference
#include "TMath.h"
#include "TStopwatch.h"
#include <cmath>
#include <iostream>
#include <iomanip>
#include "Math/Integrator.h"
#include "Math/Functor.h"
#include "Math/IFunction.h"
#include "Math/WrappedParamFunction.h"
#include "Math/AdaptiveIntegratorMultiDim.h"
#include "Math/IFunctionfwd.h"
#include "Math/GSLMCIntegrator.h"
#include "Math/Random.h"
#include "Math/GSLRndmEngines.h"
#include "TGraph.h"
#include "TAxis.h"
#include "TCanvas.h"
#include "TApplication.h"
#include "TPaveLabel.h"
#include "TLegend.h"
#include "TH1.h"
Include dependency graph for testMCIntegration.cxx:

Functions

std::vector< double > integral_MC (unsigned int dim, double *a, double *b, double *p, double *value, double *error)
 
double integral_num (unsigned int dim, double *a, double *b, double *p, double &value, double &error)
 
int main (int argc, char **argv)
 
bool performance ()
 
Double_t SimpleFun (const double *x, const double *p)
 
Double_t SingularFun (const double *x, const double *p)
 
Double_t Sum (const double *x, const double *p)
 

Variables

int NMAX = 6
 
bool showGraphics = false
 
bool verbose = false
 

Function Documentation

◆ integral_MC()

std::vector<double> integral_MC ( unsigned int  dim,
double *  a,
double *  b,
double *  p,
double *  value,
double *  error 
)

Definition at line 133 of file testMCIntegration.cxx.

◆ integral_num()

double integral_num ( unsigned int  dim,
double *  a,
double *  b,
double *  p,
double &  value,
double &  error 
)

Definition at line 98 of file testMCIntegration.cxx.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 346 of file testMCIntegration.cxx.

◆ performance()

bool performance ( )

Definition at line 237 of file testMCIntegration.cxx.

◆ SimpleFun()

Double_t SimpleFun ( const double *  x,
const double *  p 
)

Definition at line 71 of file testMCIntegration.cxx.

◆ SingularFun()

Double_t SingularFun ( const double *  x,
const double *  p 
)

Definition at line 81 of file testMCIntegration.cxx.

◆ Sum()

Double_t Sum ( const double *  x,
const double *  p 
)

Definition at line 61 of file testMCIntegration.cxx.

Variable Documentation

◆ NMAX

int NMAX = 6

Definition at line 52 of file testMCIntegration.cxx.

◆ showGraphics

bool showGraphics = false

Definition at line 50 of file testMCIntegration.cxx.

◆ verbose

bool verbose = false

Definition at line 51 of file testMCIntegration.cxx.