Skip to content

MeanTraits

#include <reductions.hh>
struct MeanTraits

Defined in src/lib/ncarray/reductions.hh:343

Name Kind Owner
identity function Declared here
fill function Declared here
transform function Declared here
reduce function Declared here
store function Declared here
atomic function Declared here
AccumT typedef Declared here
OutT typedef Declared here
Return Name Description
NCA_HDAccumT< T > identity static inline
NCA_HD auto fill static inline
NCA_HDAccumT< T > transform static inline
NCA_HDAccumT< T > reduce static inline
NCA_HD auto store static inline
NCA_D void atomic static inline

static inline

template<typename T> static inline NCA_HDAccumT< T > identity()

Defined in src/lib/ncarray/reductions.hh:351


static inline

template<typename T> static inline NCA_HD auto fill()

Defined in src/lib/ncarray/reductions.hh:356


static inline

template<typename T> static inline NCA_HDAccumT< T > transform(ssize_t idx, T val)

Defined in src/lib/ncarray/reductions.hh:361


static inline

template<typename T> static inline NCA_HDAccumT< T > reduce(AccumT< T > a, AccumT< T > b)

Defined in src/lib/ncarray/reductions.hh:366


static inline

template<typename T> static inline NCA_HD auto store(AccumT< T > res, double ddof = 0.0)

Defined in src/lib/ncarray/reductions.hh:371


static inline

template<typename T> static inline NCA_D void atomic(AccumT< T > * dest, AccumT< T > val)

Defined in src/lib/ncarray/reductions.hh:376

Name Description
AccumT
OutT

using AccumT = typename op_traits< T >::sum_type

Defined in src/lib/ncarray/reductions.hh:345


using OutT = AccumT< T >

Defined in src/lib/ncarray/reductions.hh:348