ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 "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:

Go to the source code of this file.

Functions

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

Variables

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

Function Documentation

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

Definition at line 131 of file testMCIntegration.cxx.

Referenced by performance().

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

Definition at line 96 of file testMCIntegration.cxx.

Referenced by performance().

int main ( int  argc,
char **  argv 
)

Definition at line 340 of file testMCIntegration.cxx.

bool performance ( )

Definition at line 231 of file testMCIntegration.cxx.

Referenced by main().

Double_t SimpleFun ( const double x,
const double p 
)

Definition at line 69 of file testMCIntegration.cxx.

Referenced by integral_MC(), and integral_num().

Double_t SingularFun ( const double x,
const double p 
)

Definition at line 79 of file testMCIntegration.cxx.

Double_t Sum ( const double x,
const double p 
)

Definition at line 59 of file testMCIntegration.cxx.

Referenced by SimpleFun().

Variable Documentation

int NMAX = 6

Definition at line 50 of file testMCIntegration.cxx.

Referenced by performance().

bool showGraphics = false

Definition at line 48 of file testMCIntegration.cxx.

Referenced by main(), and performance().

bool verbose = false

Definition at line 49 of file testMCIntegration.cxx.

Referenced by integral_MC(), integral_num(), main(), and performance().