Skip to content

StaticExprMVNode

#include <staticmvnode.hh>
template<int NViews, int NScalars, int NInstrs, typename ArrT = float, typename ScalarT = float, class MemTag = DevTag, class Layout = NCOffsetsPolicy>
struct StaticExprMVNode

Defined in src/lib/ncarray/expression/staticmvnode.hh:98

Inherits: ExpressionTag, ExprOpInterface

Name Kind Owner
layouts variable Declared here
data variable Declared here
scalars variable Declared here
ops variable Declared here
op_map variable Declared here
StaticExprMVNode function Declared here
StaticExprMVNode function Declared here
eval function Declared here
dtype function Declared here
NOperands variable Declared here
NOps variable Declared here
final_shape variable Inherited from ExprOpInterface
final_size variable Inherited from ExprOpInterface
ndim function Inherited from ExprOpInterface
shape function Inherited from ExprOpInterface
size function Inherited from ExprOpInterface
md_to_lin function Inherited from ExprOpInterface
apply_op function Inherited from ExprOpInterface
Kind Name Description
variable final_shape The result shape.
variable final_size The result number of elements.
function ndim const inline
function shape const inline
function size const inline
function md_to_lin const inline
function apply_op const inline
Return Name Description
Layout layouts
const void * data
ScalarT scalars
OpCode ops
short op_map

Layout layouts

Defined in src/lib/ncarray/expression/staticmvnode.hh:102


const void * data

Defined in src/lib/ncarray/expression/staticmvnode.hh:103


ScalarT scalars

Defined in src/lib/ncarray/expression/staticmvnode.hh:104


OpCode ops

Defined in src/lib/ncarray/expression/staticmvnode.hh:105


short op_map

Defined in src/lib/ncarray/expression/staticmvnode.hh:106

Return Name Description
StaticExprMVNode Defaulted constructor.
StaticExprMVNode inline
NCA_HD DestT eval const inline
NCA_HDDType dtype const inline

StaticExprMVNode() = default

Defined in src/lib/ncarray/expression/staticmvnode.hh:108

Defaulted constructor.


inline

inline StaticExprMVNode(const ExprMVNode< MemTag > & node)

Defined in src/lib/ncarray/expression/staticmvnode.hh:111


const inline

template<typename DestT, typename Coords> inline NCA_HD DestT eval(const Coords & coords) const

Defined in src/lib/ncarray/expression/staticmvnode.hh:159


const inline

inline NCA_HDDType dtype() const

Defined in src/lib/ncarray/expression/staticmvnode.hh:199

Return Name Description
constexpr int NOperands static constexpr
constexpr int NOps static constexpr

static constexpr

constexpr int NOperands = NViews + NScalars

Defined in src/lib/ncarray/expression/staticmvnode.hh:99


static constexpr

constexpr int NOps = NInstrs -

Defined in src/lib/ncarray/expression/staticmvnode.hh:100