Hydra  4.0.1
A header-only templated C++ framework to perform data analysis on massively parallel platforms.
hydra::detail::GetGlobalBin< 1, T > Struct Template Reference

#include <GetGlobalBin.h>

Inheritance diagram for hydra::detail::GetGlobalBin< 1, T >:
Collaboration diagram for hydra::detail::GetGlobalBin< 1, T >:

Public Member Functions

 GetGlobalBin (size_t grid, T lowerlimits, T upperlimits)
 
__hydra_host__ __hydra_device__ GetGlobalBin (GetGlobalBin< 1, T > const &other)
 
__hydra_host__ __hydra_device__ size_t get_bin (T X) const
 
template<typename ConvertibleType >
__hydra_host__ __hydra_device__ std::enable_if< std::is_convertible_v< ConvertibleType, T >, size_t >::type operator() (ConvertibleType const &value) const
 
__hydra_host__ __hydra_device__ GetGlobalBin< 1, T > & operator= (GetGlobalBin< 1, T > const &other)
 

Data Fields

fDelta
 
size_t fGrid
 
fLowerLimits
 
size_t fNGlobalBins
 

Detailed Description

template<typename T>
struct hydra::detail::GetGlobalBin< 1, T >

Constructor & Destructor Documentation

◆ GetGlobalBin() [1/2]

template<typename T >
hydra::detail::GetGlobalBin< 1, T >::GetGlobalBin ( size_t  grid,
lowerlimits,
upperlimits 
)
inline

◆ GetGlobalBin() [2/2]

template<typename T >
__hydra_host__ __hydra_device__ hydra::detail::GetGlobalBin< 1, T >::GetGlobalBin ( GetGlobalBin< 1, T > const &  other)
inline

Member Function Documentation

◆ get_bin()

template<typename T >
__hydra_host__ __hydra_device__ size_t hydra::detail::GetGlobalBin< 1, T >::get_bin ( X) const
inline

◆ operator()()

template<typename T >
template<typename ConvertibleType >
__hydra_host__ __hydra_device__ std::enable_if< std::is_convertible_v<ConvertibleType, T>, size_t>::type hydra::detail::GetGlobalBin< 1, T >::operator() ( ConvertibleType const &  value) const
inline

◆ operator=()

template<typename T >
__hydra_host__ __hydra_device__ GetGlobalBin<1, T>& hydra::detail::GetGlobalBin< 1, T >::operator= ( GetGlobalBin< 1, T > const &  other)
inline

Field Documentation

◆ fDelta

template<typename T >
T hydra::detail::GetGlobalBin< 1, T >::fDelta

◆ fGrid

template<typename T >
size_t hydra::detail::GetGlobalBin< 1, T >::fGrid

◆ fLowerLimits

template<typename T >
T hydra::detail::GetGlobalBin< 1, T >::fLowerLimits

◆ fNGlobalBins

template<typename T >
size_t hydra::detail::GetGlobalBin< 1, T >::fNGlobalBins

The documentation for this struct was generated from the following file: