SyTen

◆ zero_expand_sam()

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.

Remarks
This function is not autodifferentiable.

References syten::STensorImpl::SBasis::add(), syten::STensorImpl::STensor::autodiff_enabled(), syten::STensorImpl::STensor::b(), syten::STensorImpl::SBasis::dir(), syten::STensorImpl::SBasis::hasSymmetry(), syten::STensorImpl::STensor::rank(), SYTEN_ASSERT_MSG, and zero_expand().

+ Here is the call graph for this function: