Skip to content

MaxTraits

#include <ncarray/reductions.hh>
struct MaxTraits

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

Traits to find maxima along axes.

Return Name Description
NCA_HDAccumT< T > identity static inline
NCA_HD auto fill static inline
NCA_HDAccumT< T > transform static inline
NCA_HD 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:152


static inline

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

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


static inline

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

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


static inline

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

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


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:171


static inline

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

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

Name Description
AccumT
OutT

using AccumT = T

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


using OutT = AccumT< T >

Type: AccumT< T >

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