8 for(
unsigned int i = start; i < len+start; ++i)
9 v[i] = r.
Rndm() + offset;
14 for(
unsigned int i = start; i < first+start; ++i)
15 for(
unsigned int j = start; j < second+start; ++j)
16 m(i,j) = r.
Rndm() + offset;
21 for(
unsigned int i = start; i < first+start; ++i) {
22 for(
unsigned int j = i; j < first+start; ++j) {
24 m(i,j) = r.
Rndm() + offset;
28 m(i,i) = r.
Rndm() + 3*offset;
void fillRandomSym(TRandom &r, M &m, unsigned int first, unsigned int start=0, double offset=1)
This is the base class for the ROOT Random number generators.
virtual Double_t Rndm()
Machine independent random number generator.
void fillRandomMat(TRandom &r, M &m, unsigned int first, unsigned int second, unsigned int start=0, double offset=1)
void fillRandomVec(TRandom &r, V &v, unsigned int len, unsigned int start=0, double offset=1)