SyTen

◆ dropDummy() [4/4]

template<Rank rank>
Tensor<rank-1> syten::dropDummy ( Tensor< rank > const &  in,
Index const  which 
)
inline

Removes (drops) a dummy leg from the tensor.

References syten::Tensor< rank >::dirs, dropDummy(), syten::Tensor< rank >::getTotalDim(), std::move(), rank(), syten::Tensor< rank >::size(), and SYTEN_ASSERT.

+ Here is the call graph for this function: