SyTen

◆ prime() [1/2]

STensor & syten::STensorImpl::STensor::prime ( SBasisId const &  which,
std::int8_t  value = 1 
) &

Increases the prime-level of the specified basis.

Remarks
This function is autodifferentiable except if the tensor network is incomplete and the downstream adjoint does not have a basis which.
This is the function overload for lvalues, which produces an lvalue reference.

References syten::STensorImpl::Autodiff::create_primer(), and syten::STensorImpl::Autodiff::new_id().

+ Here is the call graph for this function: