SyTen

◆ p_r() [1/2]

STensor & syten::STensorImpl::STensor::p_r ( SBasisId const &  which,
std::string_view  to 
) &

Renames the specified basis to which and also primes it.

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.