Tsld014

  • 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);

Previous slide Next slide Back to first slide View graphic version