Tenncor
|
Functor implementation of operable functor of Eigen operators. More...
#include <functor.hpp>
Public Member Functions | |
Functor (const Functor< T > &other)=delete | |
Functor< T > & | operator= (const Functor< T > &other)=delete |
Functor< T > & | operator= (Functor< T > &&other)=delete |
const teq::Shape & | shape (void) const override |
Implementation of iTensor. More... | |
std::string | to_string (void) const override |
Implementation of iTensor. More... | |
teq::Opcode | get_opcode (void) const override |
Implementation of iFunctor. More... | |
const teq::ArgsT & | get_children (void) const override |
Implementation of iFunctor. More... | |
void | update_child (teq::FuncArg arg, size_t index) override |
Implementation of iFunctor. More... | |
void | update (void) override |
Implementation of iOperableFunc. More... | |
void * | data (void) override |
Implementation of iData. More... | |
const void * | data (void) const override |
Implementation of iData. More... | |
size_t | type_code (void) const override |
Implementation of iData. More... | |
std::string | type_label (void) const override |
Implementation of iData. More... | |
size_t | nbytes (void) const override |
Implementation of iData. More... | |
bool | is_uninit (void) const |
void | uninitialize (void) |
Removes internal Eigen data object. More... | |
void | initialize (void) |
Populate internal Eigen data object. More... | |
![]() | |
virtual | ~iOperableFunc (void)=default |
![]() | |
virtual | ~iFunctor (void)=default |
void | accept (iTraveler &visiter) override |
Implementation of iTensor. More... | |
![]() | |
virtual | ~iTensor (void)=default |
![]() | |
virtual | ~iData (void)=default |
Static Public Member Functions | |
static Functor< T > * | get (teq::Opcode opcode, ArgsT< T > args) |
Return Functor given opcodes mapped to Eigen operators in operator.hpp. More... | |
static Functor< T > * | get (Functor< T > &&other) |
Return Functor move of other. More... | |
Private Member Functions | |
Functor (teq::Opcode opcode, teq::Shape shape, teq::ArgsT args) | |
Functor (Functor< T > &&other)=default | |
Private Attributes | |
EigenptrT< T > | out_ = nullptr |
teq::Opcode | opcode_ |
Operation encoding. More... | |
teq::Shape | shape_ |
Shape info built at construction time according to arguments. More... | |
teq::ArgsT | args_ |
Tensor arguments (and children) More... | |
Functor implementation of operable functor of Eigen operators.
|
delete |
|
inlineprivate |
|
privatedefault |
|
inlineoverridevirtual |
Implementation of iData.
Implements teq::iData.
|
inlineoverridevirtual |
Implementation of iData.
Implements teq::iData.
|
static |
Return Functor given opcodes mapped to Eigen operators in operator.hpp.
|
inlinestatic |
Return Functor move of other.
|
inlineoverridevirtual |
Implementation of iFunctor.
Implements teq::iFunctor.
|
inlineoverridevirtual |
Implementation of iFunctor.
Implements teq::iFunctor.
|
inline |
Populate internal Eigen data object.
|
inline |
Return true if functor has never been initialized or was uninitialized, otherwise functor can return data
|
inlineoverridevirtual |
Implementation of iData.
Implements teq::iData.
|
delete |
|
delete |
|
inlineoverridevirtual |
Implementation of iTensor.
Implements teq::iTensor.
|
inlineoverridevirtual |
Implementation of iTensor.
Implements teq::iTensor.
|
inlineoverridevirtual |
Implementation of iData.
Implements teq::iData.
|
inlineoverridevirtual |
Implementation of iData.
Implements teq::iData.
|
inline |
Removes internal Eigen data object.
|
inlineoverridevirtual |
Implementation of iOperableFunc.
Implements teq::iOperableFunc.
|
inlineoverridevirtual |
Implementation of iFunctor.
Implements teq::iFunctor.
|
private |
Tensor arguments (and children)
|
private |
Operation encoding.
|
private |
|
private |
Shape info built at construction time according to arguments.