SyTen

◆ rows() [2/2]

template<Rank rank>
Index syten::Deparallelise::rows ( Tensor< rank > const &  in,
Index const  uncombinedLeg,
Tensor< 2 > &  t,
Tensor< rank > &  p 
)
inline

Row-based deparallelisation.

Parameters
[in]ininput tensor to decompose into in → t p
[in]uncombinedLegleg of in/p which is not combined and at which t attaches
[out]toutput tensor with rank 2
[out]poutput tensor with same rank as in
Returns
the number of discarded vectors

References syten::Tensor< rank >::clear(), syten::DenseTensor< rank, Scalar >::dim(), syten::Tensor< rank >::dirs, syten::Tensor< rank >::empty(), syten::hasCGC(), syten::makeIdentity(), std::move(), syten::No, syten::norm(), syten::Tensor< rank >::push_back(), std::vector< T >::push_back(), syten::rank(), syten::Tensor< rank >::reduce(), syten::Tensor< rank >::reserve(), rows(), std::vector< T >::size(), SYTEN_ZNORM_THRESHOLD, syten::tensorSortBuckets(), and syten::underThreshold().

+ Here is the call graph for this function: