Tenncor
Classes | Typedefs | Enumerations | Functions | Variables
teq_csv.hpp File Reference
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include "teq/ileaf.hpp"
#include "teq/ifunctor.hpp"
#include "estd/estd.hpp"
#include "dbg/stream/teq.hpp"
Include dependency graph for teq_csv.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CSVEquation
 Use CSVEquation to render teq::TensptrT graph to output csv edges. More...
 
struct  CSVEquation::Edge
 
struct  CSVEquation::Node
 

Typedefs

using GetTypeF = std::function< NODE_TYPE(teq::iFunctor *)>
 Function that identify functors by NODE_TYPE. More...
 

Enumerations

enum  NODE_TYPE { VARIABLE = 0, FUNCTOR, CACHED_FUNC }
 Type of the tensors. More...
 

Functions

static void multiline_replace (std::string &multiline)
 

Variables

const char label_delim = ':'
 CSV delimiter. More...
 

Typedef Documentation

◆ GetTypeF

using GetTypeF = std::function<NODE_TYPE(teq::iFunctor*)>

Function that identify functors by NODE_TYPE.

Enumeration Type Documentation

◆ NODE_TYPE

enum NODE_TYPE

Type of the tensors.

Enumerator
VARIABLE 
FUNCTOR 
CACHED_FUNC 

Function Documentation

◆ multiline_replace()

static void multiline_replace ( std::string &  multiline)
static

Variable Documentation

◆ label_delim

const char label_delim = ':'

CSV delimiter.

teq_csv.hpp dbg

Purpose: Draw an equation graph edges in CSV format