Tenncor
Public Member Functions | List of all members
teq::iTensor Struct Referenceabstract

Interface of traversible and differentiable nodes with shape information. More...

#include <itensor.hpp>

Inheritance diagram for teq::iTensor:
Inheritance graph
[legend]

Public Member Functions

virtual ~iTensor (void)=default
 
virtual void accept (iTraveler &visiter)=0
 Obtain concrete information on either leaf or functor implementations. More...
 
virtual const Shapeshape (void) const =0
 Return the shape held by this tensor. More...
 
virtual std::string to_string (void) const =0
 Return the string representation of the tensor. More...
 

Detailed Description

Interface of traversible and differentiable nodes with shape information.

Constructor & Destructor Documentation

◆ ~iTensor()

virtual teq::iTensor::~iTensor ( void  )
virtualdefault

Member Function Documentation

◆ accept()

virtual void teq::iTensor::accept ( iTraveler visiter)
pure virtual

Obtain concrete information on either leaf or functor implementations.

Implemented in teq::iFunctor, and teq::iLeaf.

◆ shape()

virtual const Shape& teq::iTensor::shape ( void  ) const
pure virtual

Return the shape held by this tensor.

Implemented in teq::Functor, dbg::CustomFunctor< T >, eteq::Functor< T >, and eteq::iLeaf< T >.

◆ to_string()

virtual std::string teq::iTensor::to_string ( void  ) const
pure virtual

Return the string representation of the tensor.

Implemented in eteq::Variable< T >, teq::Functor, dbg::CustomFunctor< T >, eteq::Functor< T >, and eteq::Constant< T >.


The documentation for this struct was generated from the following file: