Column-based deparallelisation.
- Parameters
-
[in] | in | input tensor to decompose into in → p t |
[in] | uncombinedLeg | leg of in /p which is not combined and at which t attaches |
[out] | p | output tensor with same rank as in |
[out] | t | output tensor with rank 2 |
- Returns
- the number of discarded vectors
References syten::Tensor< rank >::clear(), cols(), 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(), std::vector< T >::size(), SYTEN_ZNORM_THRESHOLD, syten::tensorSortBuckets(), and syten::underThreshold().