Template Function lsst::afw::math::randomUniformIntImage

Function Documentation

template<typename ImageT>
void lsst::afw::math::randomUniformIntImage(ImageT *image, Random &rand, unsigned long n)

Set image to random integers uniformly distributed in the range 0 … n - 1

Parameters
  • [out] image: The image to set

  • [inout] rand: definition of random number algorithm, seed, etc.

  • [in] n: (exclusive) upper limit for random variates