[Home] . . . Search by [Problem] [Package] [Module] [Keyword] . . . [Math at NIST]

GAMS Module NAG_RETURN_DISCRETE in NAGC


NAG_RETURN_DISCRETE

 
Returns a pseudo-random integer taken from a discrete distribution defined by a
reference vector r.
 
Classes  :  L6a . Generate pseudo-random numbers from univariate
                distributions
 
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 g05eyc.
 
Usage    : Integer nag_return_discrete(double *r)
 
See also : nag_random_continuous_uniform (g05cac),
           nag_random_init_repeatable (g05cbc),
           nag_random_init_nonrepeatable (g05ccc), nag_ref_vec_poisson
           (g05ecc), nag_ref_vec_binomial (g05edc),
           nag_ref_vec_discrete_pdf_cdf (g05exc)
 
Details  : Documentation Example Example-output Local-details
Sites    : (1) ITL
 

Implementation of NAG_RETURN_DISCRETE from NAGC on 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 g05eyc.
 
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
   Example-outpu: cat
                  /itl/apps/nagclib-6/clsol06da/examples/results/g05eyce.r
   Example      : cat
                  /itl/apps/nagclib-6/clsol06da/examples/source/g05eyce.c
   Documentation: acroread
                  /itl/apps/nagclib-6/docs/NAGdoc/cl/pdf/G05/g05eyc_cl05.pdf


[Home] . . . Search by [Problem] [Package] [Module] [Keyword] . . . [Math at NIST]

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 Sat Sep 20, 2008 at 04:24:59 UTC