ROOT  6.06/08
Reference Guide
Functions | Variables
testPermute.cxx File Reference
#include <iostream>
#include <ctime>
#include <algorithm>
#include <vector>
#include <gsl/gsl_permutation.h>
#include <TRandom2.h>
#include <TMath.h>
#include <TStopwatch.h>
#include <TApplication.h>
#include <TCanvas.h>
#include <TH2F.h>
#include <TGraph.h>
#include <TLegend.h>
#include <TAxis.h>
+ Include dependency graph for testPermute.cxx:

Go to the source code of this file.

Functions

ostream & operator<< (ostream &os, const vector< Int_t > &v)
 
void initArray (Int_t n, vector< Int_t > &array)
 
bool checkPermute ()
 
void permuteTime (const int n, double *tTMath, double *tStd)
 
void testGSLPermute (Int_t n, double *tGSL)
 
int testPermute ()
 
int main (int argc, char **argv)
 

Variables

bool showGraphics = false
 
const int npass = 2
 
const int minsize = 5
 
const int maxsize = 12
 
const int maxint = 5000
 
const int arraysize = (maxsize-minsize) + 1
 

Function Documentation

§ checkPermute()

bool checkPermute ( )

Definition at line 49 of file testPermute.cxx.

Referenced by testPermute().

§ initArray()

void initArray ( Int_t  n,
vector< Int_t > &  array 
)

Definition at line 40 of file testPermute.cxx.

Referenced by checkPermute(), and permuteTime().

§ main()

int main ( int  argc,
char **  argv 
)

Definition at line 207 of file testPermute.cxx.

§ operator<<()

ostream& operator<< ( ostream &  os,
const vector< Int_t > &  v 
)

Definition at line 29 of file testPermute.cxx.

§ permuteTime()

void permuteTime ( const int  n,
double *  tTMath,
double *  tStd 
)

Definition at line 79 of file testPermute.cxx.

Referenced by testPermute().

§ testGSLPermute()

void testGSLPermute ( Int_t  n,
double *  tGSL 
)

Definition at line 109 of file testPermute.cxx.

Referenced by testPermute().

§ testPermute()

int testPermute ( )

Definition at line 135 of file testPermute.cxx.

Referenced by main().

Variable Documentation

§ arraysize

const int arraysize = (maxsize-minsize) + 1

Definition at line 25 of file testPermute.cxx.

Referenced by testPermute().

§ maxint

const int maxint = 5000

Definition at line 24 of file testPermute.cxx.

Referenced by initArray().

§ maxsize

const int maxsize = 12

Definition at line 23 of file testPermute.cxx.

Referenced by testPermute().

§ minsize

const int minsize = 5

Definition at line 22 of file testPermute.cxx.

Referenced by checkPermute(), and testPermute().

§ npass

const int npass = 2

§ showGraphics

bool showGraphics = false

Definition at line 19 of file testPermute.cxx.

Referenced by main(), and testPermute().