AllTraits
AllTraits
Section titled “AllTraits”#include <reductions.hh>struct AllTraitsDefined in src/lib/ncarray/reductions.hh:519
Traits to find minima along axes.
List of all members
Section titled “List of all members”| 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 |
Public Static Methods
Section titled “Public Static Methods”| 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 |
identity
Section titled “identity”static inline
template<typename T> static inline NCA_HDAccumT< T > identity()Defined in src/lib/ncarray/reductions.hh:527
static inline
template<typename T> static inline NCA_HD auto fill()Defined in src/lib/ncarray/reductions.hh:532
transform
Section titled “transform”static inline
template<typename T> static inline NCA_HDAccumT< T > transform(ssize_t idx, T val)Defined in src/lib/ncarray/reductions.hh:535
reduce
Section titled “reduce”static inline
template<typename T> static inline NCA_HDAccumT< T > reduce(AccumT< T > a, AccumT< T > b)Defined in src/lib/ncarray/reductions.hh:540
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:545
atomic
Section titled “atomic”static inline
template<typename T> static inline NCA_D void atomic(AccumT< T > * dest, AccumT< T > val)Defined in src/lib/ncarray/reductions.hh:550
Public Types
Section titled “Public Types”| Name | Description |
|---|---|
AccumT |
|
OutT |
AccumT
Section titled “AccumT”using AccumT = boolDefined in src/lib/ncarray/reductions.hh:521
using OutT = boolDefined in src/lib/ncarray/reductions.hh:524