PetscRandomGetInterval#

Gets the interval over which the random numbers will be distributed. By default, this interval is [0,1).

Synopsis#

Not Collective

Input Parameter#

  • r - the random number generator context

Output Parameters#

  • low - The lower bound of the interval

  • high - The upper bound of the interval

See Also#

PetscRandom, PetscRandomCreate(), PetscRandomSetInterval()

Level#

intermediate

Location#

src/sys/classes/random/interface/random.c


Edit on GitLab

Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages