2D, real value histogram
More...
#include <stat.hpp>
|
| | Histogram2d (const unsigned long long &Nbinx, const unsigned long long &Nbiny, const double &min_x, const double &max_x, const double &min_y, const double &max_y) |
| | initialize a histogram
|
| |
| void | clear_vars () |
| |
| template<class T > |
| void | accumulate (const std::vector< T > &data_x, const std::vector< T > &data_y) |
| |
| void | normalize () |
| |
| void | print () const |
| |
| const Storage & | get_x () const |
| |
| Storage & | get_x () |
| |
| const Storage & | get_y () const |
| |
| Storage & | get_y () |
| |
| std::vector< cytnx_uint64 > | size () |
| |
◆ Histogram2d()
| cytnx::stat::Histogram2d::Histogram2d |
( |
const unsigned long long & |
Nbinx, |
|
|
const unsigned long long & |
Nbiny, |
|
|
const double & |
min_x, |
|
|
const double & |
max_x, |
|
|
const double & |
min_y, |
|
|
const double & |
max_y |
|
) |
| |
◆ accumulate()
template<class T >
| void cytnx::stat::Histogram2d::accumulate |
( |
const std::vector< T > & |
data_x, |
|
|
const std::vector< T > & |
data_y |
|
) |
| |
|
inline |
◆ clear_vars()
| void cytnx::stat::Histogram2d::clear_vars |
( |
| ) |
|
|
inline |
◆ get_x() [1/2]
| Storage & cytnx::stat::Histogram2d::get_x |
( |
| ) |
|
|
inline |
◆ get_x() [2/2]
| const Storage & cytnx::stat::Histogram2d::get_x |
( |
| ) |
const |
|
inline |
◆ get_y() [1/2]
| Storage & cytnx::stat::Histogram2d::get_y |
( |
| ) |
|
|
inline |
◆ get_y() [2/2]
| const Storage & cytnx::stat::Histogram2d::get_y |
( |
| ) |
const |
|
inline |
◆ normalize()
| void cytnx::stat::Histogram2d::normalize |
( |
| ) |
|
◆ print()
| void cytnx::stat::Histogram2d::print |
( |
| ) |
const |
◆ size()
| std::vector< cytnx_uint64 > cytnx::stat::Histogram2d::size |
( |
| ) |
|
|
inline |
◆ binx
| uint64_t cytnx::stat::Histogram2d::binx |
◆ biny
| uint64_t cytnx::stat::Histogram2d::biny |
◆ maxx
| double cytnx::stat::Histogram2d::maxx |
◆ maxy
| double cytnx::stat::Histogram2d::maxy |
◆ minx
| double cytnx::stat::Histogram2d::minx |
◆ miny
| double cytnx::stat::Histogram2d::miny |
◆ total_count
| double cytnx::stat::Histogram2d::total_count |
◆ vars
| cytnx::Storage cytnx::stat::Histogram2d::vars |
| cytnx::Storage cytnx::stat::Histogram2d::x |
| cytnx::Storage cytnx::stat::Histogram2d::y |
The documentation for this class was generated from the following file: