|
Alexandria 2.32.0
SDC-CH common library for the Euclid project
|


Public Member Functions | |
| ComputationImpl (BinType &&bin_type) | |
| ComputationImpl (const ComputationImpl &)=default | |
| const BinStrategy< VarType > & | getBinStrategy () const final |
| std::unique_ptr< ComputationInterface > | clone () const final |
| template<typename IterType, typename WeightIterType> | |
| void | computeBins (IterType begin, IterType end, WeightIterType wbegin) |
| void | clip (VarType min, VarType max) final |
| std::tuple< VarType, VarType, VarType > | getStats () const final |
| Public Member Functions inherited from Euclid::Histogram::Histogram< VarType, WeightType >::ComputationInterface | |
| virtual | ~ComputationInterface ()=default |
| ComputationInterface () | |
| size_t | size () const |
Public Attributes | |
| BinType | m_binning |
| ssize_t | m_clip_left |
| ssize_t | m_clip_right |
| std::shared_ptr< std::vector< WeightType > > | m_counts |
| Public Attributes inherited from Euclid::Histogram::Histogram< VarType, WeightType >::ComputationInterface | |
| std::shared_ptr< std::vector< WeightType > > | m_counts |
| ssize_t | m_clip_left |
| ssize_t | m_clip_right |
Concrete implementation of ComputationInterface given a BinType
| BinType | Type of the binning strategy |
Definition at line 345 of file Histogram.h.
|
inlineexplicit |
|
default |
|
finalvirtual |
Implements Euclid::Histogram::Histogram< VarType, WeightType >::ComputationInterface.
Definition at line 6 of file ComputationImpl.icpp.
References m_binning, m_clip_left, and m_clip_right.
|
inlinefinalvirtual |
Implements Euclid::Histogram::Histogram< VarType, WeightType >::ComputationInterface.
Definition at line 359 of file Histogram.h.
References Euclid::make_unique().

| void Euclid::Histogram::Histogram< VarType, WeightType >::ComputationImpl< BinType >::computeBins | ( | IterType | begin, |
| IterType | end, | ||
| WeightIterType | wbegin ) |
Fill the bin counts
| IterType | Iterator type for both the edges and the values of the variable |
| WeightIterType | Iterator type for the weights |
| begin | Beginning of the data |
| end | End of the data |
| wbegin | Beginning of the weights |
Definition at line 101 of file ComputationImpl.icpp.
References computeBins(), Euclid::Histogram::computeBinsForwarder(), m_binning, m_clip_left, m_clip_right, m_counts, and Euclid::Histogram::HasComputeBins< BinType, IterType >::value.
Referenced by computeBins().

|
inlinefinalvirtual |
Implements Euclid::Histogram::Histogram< VarType, WeightType >::ComputationInterface.
Definition at line 355 of file Histogram.h.
References m_binning.
|
finalvirtual |
Implements Euclid::Histogram::Histogram< VarType, WeightType >::ComputationInterface.
Definition at line 22 of file ComputationImpl.icpp.
References m_binning, m_clip_left, m_clip_right, m_counts, std::make_tuple(), std::max(), and std::sqrt().

| BinType Euclid::Histogram::Histogram< VarType, WeightType >::ComputationImpl< BinType >::m_binning |
Definition at line 349 of file Histogram.h.
Referenced by clip(), ComputationImpl(), computeBins(), getBinStrategy(), and getStats().
| ssize_t Euclid::Histogram::Histogram< VarType, WeightType >::ComputationInterface::m_clip_left |
Definition at line 319 of file Histogram.h.
Referenced by clip(), computeBins(), and getStats().
| ssize_t Euclid::Histogram::Histogram< VarType, WeightType >::ComputationInterface::m_clip_right |
Definition at line 319 of file Histogram.h.
Referenced by clip(), computeBins(), and getStats().
| std::shared_ptr<std::vector<WeightType> > Euclid::Histogram::Histogram< VarType, WeightType >::ComputationInterface::m_counts |
Definition at line 318 of file Histogram.h.
Referenced by computeBins(), and getStats().