Logo ROOT   6.10/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:

Functions

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

Variables

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

Function Documentation

◆ checkPermute()

bool checkPermute ( )

Definition at line 49 of file testPermute.cxx.

◆ initArray()

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

Definition at line 40 of file testPermute.cxx.

◆ 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.

◆ testGSLPermute()

void testGSLPermute ( Int_t  n,
double *  tGSL 
)

Definition at line 109 of file testPermute.cxx.

◆ testPermute()

int testPermute ( )

Definition at line 135 of file testPermute.cxx.

Variable Documentation

◆ arraysize

const int arraysize = (maxsize-minsize) + 1

Definition at line 25 of file testPermute.cxx.

◆ maxint

const int maxint = 5000

Definition at line 24 of file testPermute.cxx.

◆ maxsize

const int maxsize = 12

Definition at line 23 of file testPermute.cxx.

◆ minsize

const int minsize = 5

Definition at line 22 of file testPermute.cxx.

◆ npass

const int npass = 2

Definition at line 21 of file testPermute.cxx.

◆ showGraphics

bool showGraphics = false

Definition at line 19 of file testPermute.cxx.