Logo ROOT   6.08/07
Reference Guide
Macros | Functions | Variables
unuranMulti2D.cxx File Reference
#include "TStopwatch.h"
#include "TUnuran.h"
#include "TUnuranMultiContDist.h"
#include "TH2.h"
#include "TF2.h"
#include "TCanvas.h"
#include "TMath.h"
#include "TRandom3.h"
#include "TSystem.h"
#include "TApplication.h"
#include "TError.h"
#include "Math/Functor.h"
#include <cmath>
#include <iostream>
Include dependency graph for unuranMulti2D.cxx:

Macros

#define _USE_MATH_DEFINES
 

Functions

double gaus2d (double *x, double *p)
 
double log_gaus2d (double *x, double *p)
 
int main (int argc, char **argv)
 
int testGetRandom (TF2 *f, TH1 *h1, const TH2 *href=0)
 
int testUnuran (TUnuran &unr, const std::string &method, const TUnuranMultiContDist &dist, TH2 *h1, const TH2 *href)
 
int unuranMulti2D ()
 

Variables

int n = 1000000
 
bool useRandomSeed = false
 

Macro Definition Documentation

◆ _USE_MATH_DEFINES

#define _USE_MATH_DEFINES

Definition at line 26 of file unuranMulti2D.cxx.

Function Documentation

◆ gaus2d()

double gaus2d ( double *  x,
double *  p 
)

Definition at line 39 of file unuranMulti2D.cxx.

◆ log_gaus2d()

double log_gaus2d ( double *  x,
double *  p 
)

Definition at line 52 of file unuranMulti2D.cxx.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 286 of file unuranMulti2D.cxx.

◆ testGetRandom()

int testGetRandom ( TF2 f,
TH1 h1,
const TH2 href = 0 
)

Definition at line 102 of file unuranMulti2D.cxx.

◆ testUnuran()

int testUnuran ( TUnuran unr,
const std::string &  method,
const TUnuranMultiContDist dist,
TH2 h1,
const TH2 href 
)

Definition at line 59 of file unuranMulti2D.cxx.

◆ unuranMulti2D()

int unuranMulti2D ( )

Definition at line 135 of file unuranMulti2D.cxx.

Variable Documentation

◆ n

int n = 1000000

Definition at line 35 of file unuranMulti2D.cxx.

◆ useRandomSeed

bool useRandomSeed = false

Definition at line 37 of file unuranMulti2D.cxx.