MathGroup Archive 1993

[Date Index] [Thread Index] [Author Index]

Search the Archive

random numbers from user-defined distributions

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: random numbers from user-defined distributions
  • From: msdrl!nachbar at uunet.uu.net (Dr. Robert B. Nachbar)
  • Date: Tue, 5 Jan 93 16:49:46 EDT

does anyone know how to use Random with an arbitrary distribution
function? i would like to generate random numbers in the range {0, Pi}
with a probability distribution function (PDF) of Sin[x].

bob
-- 
Dr. Robert B. Nachbar | Merck Research Laboratories | 908/594-7795
nachbar at msdrl.com     | R50S-100                    | 908/594-4224 FAX
                      | PO Box 2000                 |
                      | Rahway, NJ 07065            |





  • Prev by Date: labeling contour lines
  • Next by Date: Neural Network Notebooks?
  • Previous by thread: labeling contour lines
  • Next by thread: Re: random numbers from user-defined distributions