SyTen

◆ genRandom() [1/2]

Tensor< 3 > syten::genRandom ( Basis const &  firstBasis,
Basis const &  secondBasis,
Basis const &  thirdBasis,
bool const  not_random 
)

Generates a random rank-3 tensor where the product basis of firstBasis and secondBasis is projected onto thirdBasis

References std::array< T >::begin(), std::copy(), syten::Basis::dir, kronVector(), syten::Basis::numSymmetries, syten::RepRegister::Decomp::productDecomp(), and SYTEN_ASSERT_MSG.

+ Here is the call graph for this function: