Tenncor
Classes | Namespaces | Typedefs | Functions
variable.hpp File Reference
#include "eteq/ileaf.hpp"
#include "eteq/inode.hpp"
#include "eteq/shaped_arr.hpp"
Include dependency graph for variable.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  eteq::Variable< T >
 Leaf node implementation containing mutable Eigen data. More...
 
struct  eteq::VariableNode< T >
 Variable's node wrapper. More...
 

Namespaces

 eteq
 

Typedefs

template<typename T >
using eteq::VarptrT = std::shared_ptr< VariableNode< T > >
 Smart pointer of variable nodes to preserve assign functions. More...
 

Functions

template<typename T >
NodeptrT< T > eteq::convert_to_node (VarptrT< T > var)
 Return Node smart pointer of Variable smart pointer. More...
 
template<typename T >
VarptrT< T > eteq::make_variable_scalar (T scalar, teq::Shape shape, std::string label="")
 Return variable node given scalar and shape. More...
 
template<typename T >
VarptrT< T > eteq::make_variable (teq::Shape shape, std::string label="")
 Return zero-initialized variable node of specified shape. More...
 
template<typename T >
VarptrT< T > eteq::make_variable (T *data, teq::Shape shape, std::string label="")
 Return variable node given raw array and shape. More...