SyTen
stensor_fusesplit.h File Reference

Fusing and splitting of STensor bases. More...

+ Include dependency graph for stensor_fusesplit.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

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

Functions

STensor syten::STensorImpl::demerge (STensor const &in, SBasis const &f1, SBasis const &f2, Index maxBlocksize=Maximum(), SRDef ratio=1., Index minBlocksize=1, bool ethereal=true, SourceLocation const &loc=SourceLocation::current())
 Given a tensor and two bases, constructs the merged bases of the two and then splits that basis of the tensor in back into bases f1 and f2. More...
 
std::tuple< STensor, SBasis > syten::STensorImpl::merge (STensor const &in, SBasisId const &f1, SBasisId const &f2, Index maxBlocksize=Maximum(), SRDef ratio=1., Index minBlocksize=1, bool ethereal=true, SourceLocation const &loc=SourceLocation::current())
 Merges the bases f1 and f2 of tensor in. More...
 

Detailed Description

Fusing and splitting of STensor bases.