ROOT  6.06/09
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

bool checkPermute ( )

Definition at line 49 of file testPermute.cxx.

Referenced by testPermute().

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

Definition at line 40 of file testPermute.cxx.

Referenced by checkPermute(), and permuteTime().

int main ( int  argc,
char **  argv 
)

Definition at line 207 of file testPermute.cxx.

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

Definition at line 29 of file testPermute.cxx.

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

Definition at line 79 of file testPermute.cxx.

Referenced by testPermute().

void testGSLPermute ( Int_t  n,
double tGSL 
)

Definition at line 109 of file testPermute.cxx.

Referenced by testPermute().

int testPermute ( )

Definition at line 135 of file testPermute.cxx.

Referenced by main().

Variable Documentation

const int arraysize = (maxsize-minsize) + 1

Definition at line 25 of file testPermute.cxx.

Referenced by testPermute().

const int maxint = 5000

Definition at line 24 of file testPermute.cxx.

Referenced by initArray().

const int maxsize = 12

Definition at line 23 of file testPermute.cxx.

Referenced by testPermute().

const int minsize = 5

Definition at line 22 of file testPermute.cxx.

Referenced by checkPermute(), and testPermute().

const int npass = 2
bool showGraphics = false

Definition at line 19 of file testPermute.cxx.

Referenced by main(), and testPermute().