SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
Histogram< typename VarType, typename WeightType > Class Template Reference
Collaboration diagram for Histogram< typename VarType, typename WeightType >:

Classes

struct  ConstantWeight
struct  ComputationInterface
struct  ComputationImpl

Public Member Functions

 Histogram (IterType begin, IterType end, BinType &&bin_type)
 Histogram (IterType begin, IterType end, WeightIterType wbegin, ELEMENTS_UNUSED WeightIterType wend, BinType &&bin_type)
 Histogram (const Histogram &other)
 Histogram (Histogram &&)=default
Histogramoperator= (const Histogram &)=default
Histogramoperator= (Histogram &&)=default
size_t size () const
std::vector< WeightType > getCounts () const
std::vector< VarType > getEdges () const
std::vector< VarType > getBins () const
std::pair< VarType, VarType > getBinEdges (size_t i) const
void clip (VarType min, VarType max)
std::tuple< VarType, VarType, VarType > getStats () const

Private Attributes

std::unique_ptr< ComputationInterfacem_binning_concept

Detailed Description

Copyright © 2019 Université de Genève, LMU Munich - Faculty of Physics, IAP-CNRS/Sorbonne Université

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA


The documentation for this class was generated from the following files: