Tenncor
Namespaces | Typedefs | Functions
rmdups.hpp File Reference
#include "opt/stats.hpp"
Include dependency graph for rmdups.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 opt
 

Typedefs

using opt::ImmutablesT = std::vector< teq::LeafptrT >
 Vector of presumably immutable leaves. More...
 
using opt::HFunctorsT = std::vector< std::vector< teq::FuncptrT > >
 Matrix of functors. More...
 

Functions

void opt::replace_parents (const teq::ParentFinder &pfinder, teq::iTensor *source, teq::TensptrT target)
 
template<typename T >
std::vector< T > opt::remove_duplicates (teq::TensptrsT &roots, std::vector< T > tens, const teq::ParentFinder &pfinder, tag::TagRegistry &registry=tag::get_reg())
 
void opt::populate_graph (ImmutablesT &immutables, HFunctorsT &functors, const teq::TensptrsT &roots)
 
void opt::remove_all_duplicates (teq::TensptrsT &roots, ImmutablesT &immutables, HFunctorsT &functors)