SyTen

◆ makeRandom() [1/2]

template<Rank rank, typename Scalar >
void syten::makeRandom ( DenseTensor< rank, Scalar > &  a,
double  b = -2.,
double  e = 2. 
)
inline

Fills the tensor with random values between b and e.

References syten::Random::genEngine().

Referenced by syten::IPEPS::genRandomCompleteState(), syten::IPEPS::genRandomTensor(), syten::IPEPS::genRandomTreeLike(), and syten::STensorImpl::randomise_blocks().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: