SyTen
stensor_gen.cpp File Reference

Implementation for file inc/stensor/stensor_gen.h More...

#include "inc/stensor/stensor_gen.h"
#include "inc/tensor/tensor_gen.h"
#include "inc/stensor/stensor_ops.h"
#include <boost/functional/hash.hpp>
+ Include dependency graph for stensor_gen.cpp:

Namespaces

namespace  syten
 Syten namespace.
 
namespace  syten::STensorImpl
 Contains all ‘smart’ tensor related classes and functions.
 

Functions

SBasisId syten::STensorImpl::applyCombinator (STensor &in, SBasisId which)
 Applies a combinator to the requested leg and returns the new SBasis. More...
 
SBasis syten::STensorImpl::filterBasis (SBasis const &input, Basis const &site, Basis const &target, Index const remainingSites)
 Filters SBasis object w.r.t. More...
 
std::tuple< STensor, SBasis > syten::STensorImpl::gen_comb (SBasis b1)
 Return a Combinator and the generated adjointed basis. More...
 
std::tuple< STensor, SBasis > syten::STensorImpl::gen_combinator (SBasis const &b1)
 Returns a combinator/new basis tuple based on the input basis b1. More...
 
std::tuple< STensor, SBasis > syten::STensorImpl::gen_ii (SBasis b1)
 Returns an input/input node and the generated adjointed basis. More...
 
std::tuple< STensor, SBasis > syten::STensorImpl::gen_io (SBasis const &b1)
 Returns an input/output node tensor and the second, generated basis. More...
 
STensor syten::STensorImpl::gen_io_prime (SBasis const &b1)
 Returns an input/output node tensor where the second basis is merely the prime of the first basis. More...
 
std::tuple< STensor, SBasis > syten::STensorImpl::gen_merge (SBasis const &b1, SBasis const &b2, Index maxBlocksize=std::numeric_limits< Index >::max(), SRDef ratio=1., Index minBlocksize=1, bool ethereal=false)
 Returns a fusing or splitting half-isometry and the generated new basis. More...
 
SBasisId syten::STensorImpl::gen_merge_id (SBasisId const &f1, SBasisId const &f2, Index maxBlocksize=std::numeric_limits< Index >::max(), SRDef ratio=1., Index minBlocksize=1)
 Returns the SBasisId used to identify the merged bases. More...
 
std::tuple< STensor, SBasis > syten::STensorImpl::gen_oo (SBasis b1)
 Returns an output/output node and the generated adjointed basis. More...
 
std::tuple< STensor, SBasis > syten::STensorImpl::insertIOFullHalf (STensor &in, SBasis const &which)
 Flips the which-th leg of the tensor. More...
 
SBasis syten::STensorImpl::sum (Basis const &b1, Basis const &b2, SBasisId const &id)
 Applies sum for normal Bases to SBases. More...
 

Detailed Description

Implementation for file inc/stensor/stensor_gen.h