Wolfram Library Archive


Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings
Title Downloads

Wolfram Mathematica Tutorial Collection: Random Number Generation
Author

Wolfram Research, Inc.
Organization: Wolfram Research, Inc.
Address: 100 Trade Center Dr.
Champaign, IL 61820
Phone: (217) 398-0700
Fax: (217) 398-0747
Email: infocenter@wolfram.com
URL: http://www.wolfram.com
Book information

Copyright year: 2008
ISBN: 978-1-57955-062-2
Medium: Paperback
Pages: 39
Out of print?: Y
Buy this book
Description

The ability to generate pseudorandom numbers is important for simulating events, estimating probabilities and other quantities, making randomized assignments or selections, and numerically testing symbolic results. Such applications may require uniformly distributed numbers, nonuniformly distributed numbers, elements sampled with replacement, or elements sampled without replacement.

This tutorial covers the family of functions including RandomReal, RandomInteger, and RandomComplex, which generate uniformly distributed random numbers. RandomReal and RandomInteger also generate numbers for built-in distributions. RandomPrime generates primes within a range. The functions RandomChoice and RandomSample sample from a list of values with or without replacement. The elements may have equal or unequal weights. A framework is also included for defining additional methods and distributions for random number generation.

Drawn from the in-product documentation of Mathematica, the 23-title Tutorial Collection gives users targeted instruction on the functions, capabilities, and unified architecture of the Mathematica system. The Collection discontinued printing as of January 2012, but the Mathematica 7 edition of each title remains available for download as a PDF.
Subject

*Wolfram Technology
Related items

*Wolfram Mathematica Tutorial Collection: .NET/Link User Guide   [in Books]
*Wolfram Mathematica Tutorial Collection: Advanced Algebra   [in Books]
*Wolfram Mathematica Tutorial Collection: Advanced Numerical Differential Equation Solving in Mathematica   [in Books]
*Wolfram Mathematica Tutorial Collection: Advanced Numerical Integration in Mathematica   [in Books]
*Wolfram Mathematica Tutorial Collection: Advanced String Patterns   [in Books]
*Wolfram Mathematica Tutorial Collection: Constrained Optimization   [in Books]
*Wolfram Mathematica Tutorial Collection: Core Language   [in Books]
*Wolfram Mathematica Tutorial Collection: Data Manipulation   [in Books]
*Wolfram Mathematica Tutorial Collection: DatabaseLink User Guide   [in Books]
*Wolfram Mathematica Tutorial Collection: Differential Equation Solving with DSolve   [in Books]
*Wolfram Mathematica Tutorial Collection: Dynamic Interactivity   [in Books]
*Wolfram Mathematica Tutorial Collection: Graph Drawing   [in Books]
*Wolfram Mathematica Tutorial Collection: Grids, Rows, and Columns in Mathematica   [in Books]
*Wolfram Mathematica Tutorial Collection: J/Link User Guide   [in Books]
*Wolfram Mathematica Tutorial Collection: Mathematics and Algorithms   [in Books]
*Wolfram Mathematica Tutorial Collection: MathLink Development in C   [in Books]
*Wolfram Mathematica Tutorial Collection: Notebooks and Documents   [in Books]
*Wolfram Mathematica Tutorial Collection: System Administration Guide   [in Books]
*Wolfram Mathematica Tutorial Collection: Systems Interfaces and Deployment   [in Books]
*Wolfram Mathematica Tutorial Collection: Unconstrained Optimization   [in Books]
*Wolfram Mathematica Tutorial Collection: Visualization and Graphics   [in Books]
*Wolfram Mathematica Tutorial Collection: Web Services User Guide   [in Books]
Downloads

Download
RandomNumberGeneration.pdf (3.5 MB) - PDF Document