# Command: CreateRNG

NEST HelpDesk | Command Index | NEST Quick Reference

Name:

    CreateRNG - Create a new random generator
      Synopsis:GeneratorType int CreateRNG -> rangen
      Description:Create a new random generator of a given type and seed
      it.  See rngdict for the available generators, and the GNU Scientific
      Library documentation for details on the generators.  All random generators
      produce numbers uniformly distributed on [0, 1).
      Parameters:GeneratorType - any generator type found in rngdict
      int - seed, a positive integer
      Examples:SLI ] rngdict /knuthran get 3456 CreateRNG /krng Set
      SLI ] krng drand =
      0.23456
      References:GNU Scienctific Library, http://www.gnu.org/software/gsl
      SeeAlso:rngdict, rdevdict, CreateRDV, seed, drand, irand

Source:

    /opt/conda/conda-bld/nest_1512418773968/work/nest-2.14.0/lib/sli/librandom.sli

NEST HelpDesk | Command Index | NEST Quick Reference

© 2004 The NEST Initiative