Use shoot(HepRandomEngine*) methods to shoot values using an engine different from the one set for the static generator.
- RanecuEngine* RNQ=new RanecuEngine;
double exr=RandExponential::shoot(RNQ);
int b=RandFlat::shootBit(RNQ);
:
const int size=32;
double vect[size];
RandFlat::shootArray(RNQ,size,vect);
- RanecuEngine* RNQ=new RanecuEngine;
Previous slide | Next slide | Back to first slide | View graphic version |