Module NAG_RANDOM_DISCRETE_UNIFORM in NAGC
Returns a pseudo-random integer taken from a uniform distribution over the
interval [m,n].
Classes : L6a21 . Uniform (continuous and discrete) random numbers, random
uniform order statistics
Type : C subroutine in NAGC library (G05 sublibrary).
Access : Proprietary. Many implementations available.
Precision: Double.
Note : This procedure may also be invoked using the name g05dyc.
Usage : Integer nag_random_discrete_uniform(Integer m, Integer n)
See also : nag_random_continuous_uniform (g05cac)
Details : Documentation Example Example-output Local-details
Sites : (1) ITL
ITL: Unix Workstation Network, National Institute of Standards and
Technology (NIST), Gaithersburg, MD. Available to NIST staff.
Precision: Double.
Note : This procedure may also be invoked using the name g05dyc.
Access available only to NIST staff on internal Unix systems. They may access this
package provided the /itl tree is cross-mounted.
Link : cc -I/itl/links/generic/include -o prog prog.c
-L/itl/links/generic/{lib lib32 lib64}{/mips3 /mips4}
-lnagc -lm
Local-details: cat /itl/apps/nagclib-6/docs/implementation
Documentation: acroread
/itl/apps/nagclib-6/docs/NAGdoc/cl/pdf/G05/g05dyc_cl05.pdf
Example-outpu: cat
/itl/apps/nagclib-6/clsol06da/examples/results/g05dyce.r
Example : cat
/itl/apps/nagclib-6/clsol06da/examples/source/g05dyce.c
GAMS is a service of the Mathematical and Computational Sciences Division of the Information Technology Laboratory of the National Institute of Standards and Technology
This page was generated on Fri Jan 09, 2009 at 11:37:59 UTC