Skip to content

ExprOpInterface

#include <ncarray/expression/interface.hh>
struct ExprOpInterface

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

Subclassed by: DynamicExprMVNode< MemTag, MaxStackSize >, StaticExprMVNode< NViews, NScalars, NInstrs, ArrT, ScalarT, MemTag, Layout >

Return Name Description
Metadata final_shape The result shape.
ssize_t final_size The result number of elements.

Metadata final_shape

Type: Metadata

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

The result shape.


ssize_t final_size

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

The result number of elements.

Return Name Description
NCA_HD ssize_t ndim const inline
NCA_HD const ssize_t * shape const inline
NCA_HD ssize_t size const inline
NCA_HD OpT md_to_lin const inline
NCA_HD OpT apply_op const inline

const inline

inline NCA_HD ssize_t ndim() const

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


const inline

inline NCA_HD const ssize_t * shape() const

Defined in src/lib/ncarray/expression/interface.hh:110


const inline

inline NCA_HD ssize_t size() const

Defined in src/lib/ncarray/expression/interface.hh:112


const inline

template<typename OpT, typename Coords> inline NCA_HD OpT md_to_lin(Coords coords) const

Defined in src/lib/ncarray/expression/interface.hh:115


const inline

template<typename OpT> inline NCA_HD OpT apply_op(OpT res, OpT leaf, OpCode op) const

Defined in src/lib/ncarray/expression/interface.hh:129