SyTen

◆ multi_transpose() [2/2]

STensor syten::STensorImpl::multi_transpose ( STensor  in,
ConstSpan< SBasis to_match_this_basis 
)

Creates a copy of the input tensor and transposes it such that its computational layout matches the order given in to_match_this_basis.

Remarks
This is an AD-no-op and hence autodifferentiable.

References syten::STensorImpl::STensor::bi(), std::move(), multi_transpose(), syten::SpanImpl::ConstSpan< T >::size(), and std::vector< T >::size().

+ Here is the call graph for this function: