ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
testSampleQuantiles.cxx File Reference
#include "TMath.h"
#include <iostream>
#include <algorithm>
Include dependency graph for testSampleQuantiles.cxx:

Go to the source code of this file.

Functions

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

Variables

bool debug = false
 
double result [121]
 

Function Documentation

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

Definition at line 89 of file testSampleQuantiles.cxx.

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

Definition at line 29 of file testSampleQuantiles.cxx.

Referenced by main().

Variable Documentation

bool debug = false
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.

Referenced by TProofServ::AcceptResults(), RooAbsCollection::add(), PyROOT::Utility::AddBinaryOperator(), RooAbsCollection::addOwned(), TGHtml::AddStyle(), ROOT::Minuit2::StackAllocator::Allocate(), Memstat::TMemStatMng::AllocHook(), TLatex::Analyse(), AnalyticalIntegral(), RooCBShape::analyticalIntegral(), RooNovosibirsk::analyticalIntegral(), RooAddition::analyticalIntegral(), RooGaussModel::analyticalIntegral(), RooTruthModel::analyticalIntegral(), RooGExpModel::analyticalIntegral(), ROOT::Math::GoFTest::AndersonDarlingTest(), TMVA::MethodBDT::ApplyPreselectionCuts(), TGenCollectionProxy::At(), TCling::AutoLoad(), TPySelector::Begin(), TMath::BesselI(), TMath::BesselI0(), TMath::BesselI1(), TMath::BesselJ0(), TMath::BesselJ1(), TMath::BesselK0(), TMath::BesselK1(), TMath::BesselY0(), TMath::BesselY1(), TOrdCollection::BinarySearch(), TObjArray::BinarySearch(), TLDAPServer::Bind(), PyROOT::BindCppGlobal(), BreitWignerVectorized(), PyROOT::TMethodHolder::CallFast(), TPyArg::CallMethod(), PyROOT::TMethodHolder::CallSafe(), TPySelector::CallSelf(), TMath::CauchyDist(), TAlien::Cd(), TAlienPackage::CheckDependencies(), TAuthenticate::CheckNetrc(), TDataSetManager::CheckStagedStatus(), TGeoElementTable::CheckTable(), ClassImp(), TConfidenceLevel::CLb(), TClassEdit::CleanType(), TSessionViewer::CleanupSession(), TAlienFile::Close(), closeEnough(), TConfidenceLevel::CLsb(), combinedFit(), TStreamerInfo::CompareContent(), TString::CompareTo(), TSystem::CompileMacro(), TFractionFitter::ComputeFCN(), TKDE::ComputeKernelIntegral(), TKDE::ComputeKernelL2Norm(), TKDE::ComputeKernelMu(), TKDE::ComputeKernelSigma2(), TLimit::ComputeLimit(), TEntryListArray::Contains(), TEntryListBlock::Contains(), ROOT::Minuit2::MnContours::Contour(), ROOT::Minuit2::Minuit2Minimizer::Contour(), PyROOT::CreateConverter(), PyROOT::CreateExecutor(), RooAbsData::createHistogram(), RooAbsReal::createHistogram(), RooStats::BernsteinCorrection::CreateQSamplingDist(), TGCocoa::CreateWindow(), ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< Double32_t > >::Cross(), ROOT::Math::DisplacementVector3D< Cartesian3D< Scalar > >::Cross(), TCling::DataMemberInfo_ValidArrayIndex(), TSessionViewer::DeleteQuery(), ROOT::Math::RichardsonDerivator::DerivativeForward(), TPyDispatcher::Dispatch(), DispatchCall(), TPyDispatcher::DispatchVA(), TPyDispatcher::DispatchVA1(), TPie::DistancetoSlice(), TFormula::DoEval(), ROOT::Math::IntegrandTransform::DoEval(), ROOT::Math::GaussLegendreIntegrator::DoIntegral(), ROOT::Math::AdaptiveIntegratorMultiDim::DoIntegral(), RooStats::ProfileLikelihoodCalculator::DoMinimizeNLL(), ROOT::MacOSX::X11::DownscaledImageData(), TAdvancedGraphicsDialog::DrawConfidenceLevels(), TTreePlayer::DrawScript(), DynamicPath(), ROOT::Minuit2::eigenvalues(), ROOT::Minuit2::FumiliStandardMaximumLikelihoodFCN::Elements(), ROOT::Minuit2::FumiliStandardChi2FCN::Elements(), TEntryListArray::Enter(), TGRegion::Eor(), TMVA::BinarySearchTreeNode::EqualsMe(), ROOT::Minuit2::MnUserTransformation::Errors(), TMVA::PDEFoamKernelGauss::Estimate(), TMVA::MethodFDA::EstimatorFunction(), TPython::Eval(), TMVA::PyMethodBase::Eval(), TFoam::Eval(), TGraph::Eval(), ROOT::Math::GSLDerivator::EvalBackward(), ROOT::Math::GSLDerivator::EvalCentral(), ROOT::Math::ChebyshevApprox::EvalErr(), ROOT::Math::GSLDerivator::EvalForward(), TF1Convolution::EvalNumConv(), TF1::EvalPar(), RooBernstein::evaluate(), TMVA::SVKernelFunction::Evaluate(), RooGaussModel::evaluate(), RooAbsAnaConvPdf::evaluate(), RooGExpModel::evaluate(), RooStats::AsymptoticCalculator::EvaluateNLL(), RooDataWeightedAverage::evaluatePartition(), RooNLLVar::evaluatePartition(), RooChi2Var::evaluatePartition(), RooXYChi2Var::evaluatePartition(), RooStats::ProfileLikelihoodTestStat::EvaluateProfileLikelihood(), TMVA::exampleGA(), TPython::Exec(), XrdProofdAdmin::Exec(), TPython::ExecScript(), PyROOT::TMethodHolder::Execute(), PyROOT::TCppObjectRefExecutor::Execute(), TCling::ExecuteMacro(), FastCall(), RooAbsReal::fillHistogram(), TBranchElement::FindBranch(), TViewPubDataMembers::FindObject(), TViewPubFunctions::FindObject(), TListOfEnumsWithLock::FindObject(), TListOfFunctions::FindObject(), TListOfFunctionTemplates::FindObject(), TListOfDataMembers::FindObject(), RooAbsReal::findRoot(), TListOfTypes::FindType(), TEfficiency::Fit(), fithist(), fitNormSum(), FitUsingRooFit(), FitUsingRooFit2(), fun2(), RScanner::FuncParameters(), TRandom::Gaus(), gaus2d(), gaus3d(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::GausACR(), GenRosenBrock(), TConfidenceLevel::Get3sProbability(), TConfidenceLevel::Get5sProbability(), ROOT::Internal::GetArrayType(), TGFontPool::GetAttributeInfo(), TLDAPServer::GetAttributeTypes(), TConfidenceLevel::GetAverageCLs(), TConfidenceLevel::GetAverageCLsb(), TMVA::PDEFoamKernelLinN::GetAverageNeighborsValue(), TMVA::PDEFoamTarget::GetAverageNeighborsValue(), TMVA::PDEFoamKernelGauss::GetAverageNeighborsValue(), TMVA::ResultsMulticlass::GetBestMultiClassCuts(), TKDTreeBinning::GetBinCenter(), TKDTreeBinning::GetBinMaxDensity(), TKDTreeBinning::GetBinMinDensity(), TKDTreeBinning::GetBinWidth(), TMVA::PDEFoamMultiTarget::GetCellValue(), ROOT::Fit::FitResult::GetConfidenceIntervals(), TGenCollectionProxy::GetConversionReadMemberWiseActions(), TLDAPResult::GetCount(), TDataSetManagerFile::GetDataSetPath(), TDataSetManagerFile::GetDataSets(), ROOT::TMetaUtils::AST2SourceTools::GetDefArg(), TDirectoryFile::GetDirectory(), TDirectory::GetDirectory(), THDFSSystem::GetDirEntry(), TEntryListFromFile::GetEntryAndTree(), TEntryList::GetEntryAndTree(), TKDE::GetError(), TBackCompFitter::GetErrors(), TConfidenceLevel::GetExpectedCLb_b(), TConfidenceLevel::GetExpectedCLb_sb(), TConfidenceLevel::GetExpectedCLsb_b(), RooStats::HypoTestInverterResult::GetExpectedPValueDist(), TKDE::GetFixedWeight(), TAlienCollection::GetGridResult(), TMakeProject::GetHeaderName(), TGHtml::GetImageAlignment(), TMVA::TNeuronInputSum::GetInput(), TMVA::TNeuronInputSqSum::GetInput(), TMVA::TNeuronInputAbs::GetInput(), TFormLeafInfoReference::GetLocalValuePointer(), TClassEdit::GetLong64_Name(), TMVA::MethodRSVM::GetMvaValue(), TMVA::MethodC50::GetMvaValue(), TMVA::MethodRSNNS::GetMvaValue(), TMVA::MethodPyRandomForest::GetMvaValue(), TMVA::MethodPyGTB::GetMvaValue(), TMVA::MethodPyAdaBoost::GetMvaValue(), TMVA::MethodFisher::GetMvaValue(), TLDAPServer::GetNamingContexts(), TLDAPServer::GetObjectClasses(), ROOT::TMetaUtils::GetQualifiedName(), TKDE::GetRAMISE(), TGenCollectionProxy::GetReadMemberWiseActions(), TSelector::GetSelector(), RooStats::HypoTestInverterResult::GetSignalAndBackgroundTestStatDist(), TBackCompFitter::GetStats(), TLDAPServer::GetSubschemaSubentry(), TUri::GetUri(), TGenCollectionProxy::GetWriteMemberWiseActions(), gl2psTraverseBspTree(), TMVA::DecisionTreeNode::GoesRight(), TEveTrackPropagator::GoToLineSegment(), TEveTrackPropagator::GoToVertex(), TASImage::Gray(), TDocParser::HandleDirective(), TFormLeafInfoReference::HasCounter(), TFormLeafInfo::HasCounter(), ROOT::TMetaUtils::hasOpaqueTypedef(), hello(), PyROOT::im_call(), RooStats::BernsteinCorrection::ImportCorrectedPdf(), TPySelector::Init(), ROOT::Minuit2::MnUserTransformation::Int2extCovariance(), ROOT::Math::GSLInterpolator::Integ(), RooSegmentedIntegrator1D::integral(), RooGaussKronrodIntegrator1D::integral(), RooAdaptiveGaussKronrodIntegrator1D::integral(), RooImproperIntegrator1D::integral(), TF3::Integral(), TF2::Integral(), TF1::Integral(), integral_MC(), integral_TF1(), ROOT::TF1Helper::IntegralError(), TF1::IntegralMultiple(), TF1::IntegralOneDim(), InteractiveFCN(), InteractiveFCNm(), InteractiveFCNm2(), TH3::Interpolate(), TMVA::MethodFDA::InterpretFormula(), TGRegion::Intersect(), TGTextLayout::IntersectText(), ROOT::Math::AxisAngle::Inverse(), invert(), TMVA::BinarySearchTree::InVolume(), TAlienPackage::IsDirectory(), TGX11::IsDNDAware(), TROOT::IsRootFile(), ROOT::Math::GoFTest::KolmogorovSmirnovTest(), LDAPExample(), line3Dfit(), TAlien::ListPackages(), TClass::LoadClass(), TGLite::Ls(), TROOT::Macro(), RooStats::HypoTestInverterPlot::MakeTestStatPlot(), TGuiBldNameFrame::MapItems(), RooAbsReal::matchArgs(), Matrix3dMulMatrix3d(), TMVA::MaximizeSignificance(), TUri::MergePaths(), TFileMerger::MergeRecursive(), mg_join_thread(), mg_printf(), mg_start_thread(), mg_start_thread_with_id(), ROOT::Minuit2::VariableMetricBuilder::Minimum(), ROOT::Minuit2::FumiliBuilder::Minimum(), TAlien::Mkdir(), TMVA::Tools::MVADiff(), RooCFunction1Ref< VO, VI >::name(), RooCFunction4Ref< VO, VI1, VI2, VI3, VI4 >::name(), RooCFunction2Ref< VO, VI1, VI2 >::name(), RooCFunction3Ref< VO, VI1, VI2, VI3 >::name(), TEntryListBlock::Next(), TEntryList::Next(), ROOT::Detail::TCollectionProxyInfo::Iterators< Cont_t, large >::next(), TGenericCollectionIterator::VectorIterator::Next(), ROOT::Detail::TCollectionProxyInfo::Iterators< Cont_t, true >::next(), TPySelector::Notify(), TGeoToOCC::OCC_CompositeShape(), TNewQueryDlg::OnBtnCloseClicked(), TSessionServerFrame::OnBtnDeleteClicked(), TAlienFile::Open(), operator&(), ROOT::Minuit2::MnTiny::operator()(), ROOT::Minuit2::MnVectorTransform::operator()(), RooDataProjBinding::operator()(), ROOT::Minuit2::MnCovarianceSqueeze::operator()(), ROOT::Minuit2::MnEigen::operator()(), ROOT::Minuit2::MnParameterScan::operator()(), RooHistError::PoissonSum::operator()(), TF1Convolution::operator()(), RooHistError::BinomialSumAsym::operator()(), RooHistError::BinomialSumEff::operator()(), ROOT::Math::GoFTest::operator()(), ROOT::TSchemaRule::operator==(), operator^(), operator|(), ROOT::Minuit2::MnUserTransformation::Params(), parse_date_string(), TGFontPool::ParseFontName(), TTreeDrawArgsParser::ParseName(), TTreeDrawArgsParser::ParseVarExp(), TFileMerger::PartialMerge(), TAlienPackage::PostInstall(), RooStats::FrequentistCalculator::PreAltHook(), RooStats::FrequentistCalculator::PreNullHook(), PyROOT::TSetItemHolder::PreProcessArgs(), TEntryListBlock::PrintWithShift(), TPySelector::Process(), TCling::ProcessLine(), TROOT::ProcessLineFast(), TAlien::Pwd(), PyROOT_PyBool_FromInt(), qelg(), TGLite::Query(), R__CreateBuffer(), R__InitializeReadBasketBuffer(), Rastrigin(), ROOT::Detail::TBranchProxy::Read(), TFITSHDU::ReadAsHistogram(), TNetFile::ReadBuffer(), TXNetFile::ReadBuffer(), TXNetFile::ReadBufferAsync(), TChirpFile::ReadBuffers(), TDCacheFile::ReadBuffers(), TNetFile::ReadBuffers(), TFile::ReadBuffers(), TFormLeafInfoReference::ReadCounterValue(), TLatex::Readfs(), TAlien::Register(), TProofLite::RegisterDataSet(), TProof::RegisterDataSet(), RooSetProxy::remove(), TEntryListArray::Remove(), RooAbsCollection::remove(), TSessionViewer::ResetSession(), TClassEdit::ResolveTypedef(), TGHtml::ResolveUri(), TAlien::Rm(), TAlien::Rmdir(), ROOT::TMetaUtils::AnnotatedRecordDecl::RootFlag(), RooStats::HypoTestInverter::RunOnePoint(), RunTests(), ROOT::Minuit2::MnScan::Scan(), ROOT::Minuit2::Minuit2Minimizer::Scan(), TDataSetManagerFile::ScanDataSet(), TDataSetManager::ScanDataSet(), ROOT::TMetaUtils::ScopeSearch(), TLDAPServer::Search(), set_initial_result(), TGDNDManager::SetRootProxy(), TS3HTTPRequest::SetTimeStamp(), ROOT::TMetaUtils::ShortTypeName(), TSessionFrame::ShutdownSession(), TPySelector::SlaveBegin(), TPySelector::SlaveTerminate(), ROOT::Internal::TSchemaRuleProcessor::SplitDeclaration(), stressVector(), TAlien::Submit(), TGRegion::Subtract(), TFilePrefetch::SumHex(), TAlienFile::SUrl(), THDFSFile::SysClose(), TPySelector::Terminate(), TBits::TestBitNumber(), testDerivation(), testDot_C(), testDot_S(), testDot_T(), testInnerProd_C(), testInnerProd_S(), testInnerProd_T(), testQuantiles(), testVavilov(), TGenCollectionProxy__SlowNext(), TGHtml::Tokenize(), PyROOT::TCppObjectConverter::ToMemory(), TMVA::DecisionTree::TrainNodeFast(), TEntryListBlock::Transform(), ROOT::TMetaUtils::TrueName(), TGRegion::Unite(), TSessionQueryFrame::UpdateInfos(), TPySelector::Version(), TMVA::PDEFoamKernelLinN::WeightLinNeighbors(), TNetFile::WriteBuffer(), ROOT::Internal::RStl::WriteClassInit(), TKey::WriteFile(), and TKey::WriteFileKeepBuffer().