ExprOpInterface
ExprOpInterface
Section titled “ExprOpInterface”#include <interface.hh>struct ExprOpInterfaceDefined in src/lib/ncarray/expression/interface.hh:104
Subclassed by:
DynamicExprMVNode< MemTag, MaxStackSize >,StaticExprMVNode< NViews, NScalars, NInstrs, ArrT, ScalarT, MemTag, Layout >
List of all members
Section titled “List of all members”| Name | Kind | Owner |
|---|---|---|
final_shape |
variable |
Declared here |
final_size |
variable |
Declared here |
ndim |
function |
Declared here |
shape |
function |
Declared here |
size |
function |
Declared here |
md_to_lin |
function |
Declared here |
apply_op |
function |
Declared here |
Public Attributes
Section titled “Public Attributes”| Return | Name | Description |
|---|---|---|
Metadata |
final_shape |
The result shape. |
ssize_t |
final_size |
The result number of elements. |
final_shape
Section titled “final_shape”Metadata final_shapeDefined in src/lib/ncarray/expression/interface.hh:105
The result shape.
final_size
Section titled “final_size”ssize_t final_sizeDefined in src/lib/ncarray/expression/interface.hh:106
The result number of elements.
Public Methods
Section titled “Public Methods”| 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() constDefined in src/lib/ncarray/expression/interface.hh:108
const inline
inline NCA_HD const ssize_t * shape() constDefined in src/lib/ncarray/expression/interface.hh:110
const inline
inline NCA_HD ssize_t size() constDefined in src/lib/ncarray/expression/interface.hh:112
md_to_lin
Section titled “md_to_lin”const inline
template<typename OpT, typename Coords> inline NCA_HD OpT md_to_lin(Coords coords) constDefined in src/lib/ncarray/expression/interface.hh:115
apply_op
Section titled “apply_op”const inline
template<typename OpT> inline NCA_HD OpT apply_op(OpT res, OpT leaf, OpCode op) constDefined in src/lib/ncarray/expression/interface.hh:129