Logo ROOT   6.10/09
Reference Guide
Functions | Variables
testSampleQuantiles.cxx File Reference
#include "TMath.h"
#include <iostream>
#include <algorithm>
Include dependency graph for testSampleQuantiles.cxx:

Functions

int main (int argc, char *argv[])
 
bool testQuantiles (int type=0, bool sorted=true)
 

Variables

bool debug = false
 
double result [121]
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 89 of file testSampleQuantiles.cxx.

◆ testQuantiles()

bool testQuantiles ( int  type = 0,
bool  sorted = true 
)

Definition at line 29 of file testSampleQuantiles.cxx.

Variable Documentation

◆ debug

bool debug = false

Definition at line 13 of file testSampleQuantiles.cxx.

◆ result

double result[121]
Initial value:
= {
0.1 , 0.1 , 0.1 , 0.3 , 0.7 , 1 , 1.2 , 1.5 , 1.8 , 2 , 10 , 10 , 10,
0.1 , 0.1 , 0.2 , 0.5 , 0.85 , 1.1 , 1.35 , 1.65 , 1.9 , 6 , 10 , 10 , 10,
0.1 , 0.1 , 0.1 , 0.3 , 0.7 , 1 , 1.2 , 1.5 , 1.8 , 2 , 10 , 10 , 10,
0.1 , 0.1 , 0.1 , 0.3 , 0.7 , 1 , 1.2 , 1.5 , 1.8 , 2 , 10 , 10 , 10,
0.1 , 0.1 , 0.2 , 0.5 , 0.85 , 1.1 , 1.35 , 1.65 , 1.9 , 6 , 10 , 10 , 10,
0.1 , 0.1 , 0.12 , 0.38 , 0.79 , 1.08 , 1.35 , 1.68 , 1.94 , 8.4 , 10 , 10 , 10,
0.1 , 0.118 , 0.28 , 0.62 , 0.91 , 1.12 , 1.35 , 1.62 , 1.86 , 3.6 , 10 , 10 , 10,
0.1 , 0.1 , 0.1733333 , 0.46 , 0.83 , 1.093333 , 1.35 , 1.66 , 1.913333 , 6.8 , 10 , 10 , 10,
0.1 , 0.1 , 0.18 , 0.47 , 0.835 , 1.095 , 1.35 , 1.6575 , 1.91 , 6.6 , 10 , 10 , 10 }

Definition at line 17 of file testSampleQuantiles.cxx.