SyTen
stensor_expansion.cpp File Reference

Implementation for inc/stensor/stensor_expansion.h More...

+ Include dependency graph for stensor_expansion.cpp:

Namespaces

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

Functions

std::tuple< STensor, SBasis > syten::STensorImpl::expand (STensor const &a, STensor const &b)
 Constructs an expanded tensor in which a is placed first and b is placed second. More...
 
std::tuple< STensor, Vec< SBasis > > syten::STensorImpl::expand (STensor const &a, STensor const &b, ConstSpan< Pair< SBasis, SBasis > > expandees)
 Constructs an expanded tensor in which a is placed first and b is placed second. More...
 
std::tuple< STensor, SBasis > syten::STensorImpl::zero_expand (STensor a, SBasis const &inner, SBasis const &zero)
 Constructs a zero-expanded tensor, expanding the leg inner by sectors as described in zero. More...
 
void syten::STensorImpl::zero_expand_nc (STensor &a, SBasis const &inner, SBasis const &zero)
 Constructs a zero-expanded tensor, expanding the leg inner by sectors as described in zero. More...
 
std::tuple< STensor, SBasis > syten::STensorImpl::zero_expand_sam (STensor a, SBasis const &inner, SBasis const &zero)
 Constructs a zero-expanded tensor, expanding the leg inner by sectors as described in zero. More...
 

Detailed Description