testBinarySearch.cxx File Reference

#include <iostream>
#include <ctime>
#include <TRandom2.h>
#include <TMath.h>

Go to the source code of this file.

Functions

template<typename T>
void testBinarySearch ()
int main ()

Variables

const int n = 20
const int maxint = 10
const int except = 8


Function Documentation

int main ( void   ) 

Definition at line 59 of file testBinarySearch.cxx.

References testBinarySearch().

template<typename T>
void testBinarySearch (  ) 

Definition at line 13 of file testBinarySearch.cxx.

References TMath::BinarySearch(), except, i, k, maxint, n, number, sort(), and T.


Variable Documentation

const int except = 8

Definition at line 11 of file testBinarySearch.cxx.

Referenced by testBinarySearch().

const int maxint = 10

Definition at line 10 of file testBinarySearch.cxx.

const int n = 20

Definition at line 9 of file testBinarySearch.cxx.


Generated on Tue Jul 5 16:07:12 2011 for ROOT_528-00b_version by  doxygen 1.5.1