SyTen
stensor_project.h File Reference

Projection of a STensor onto a bais. More...

+ Include dependency graph for stensor_project.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::project (STensor input, SBasisId const &which, SBasis const &onto, bool nowarn=false)
 Projects the which basis of tensor input onto the sectors onto. More...
 
STensor syten::STensorImpl::project_state (STensor input, SBasisId const &which, Sector const &sec, Index const n)
 Projects the which basis of tensor input onto the n-th state (1-indexed) of the sector sec. More...
 

Detailed Description

Projection of a STensor onto a bais.