Computer Program Detail Page

Item Picture
written by Wolfgang Christian
The Linear Congruent Number Generator Model generates a sequence of integers x[i] over the interval [0, m-1] by the recurrence relation

x[i+1] = (a*x[i]+c) mod m

where the modulus m is greater than zero, the multiplier a is greater than zero and less than m, and the increment c is greater than zero and less than m. All numbers are integers and all arithmetic is integer arithmetic. The initial value x[0] is known as the seed.

The Linear Congruent Number Generator Model was created using the Easy Java Simulations (EJS) modeling tool.  It is distributed as a ready-to-run (compiled) Java archive.  Double clicking the ejs_math_RandomLCG.jar file will run the program if Java is installed.

Please note that this resource requires at least version 1.5 of Java.
View the source code document attached to this resource
Subjects Levels Resource Types
General Physics
- Computational Physics
Mathematical Tools
- Statistics
Thermo & Stat Mech
- Probability
= Random Walks
- Lower Undergraduate
- Upper Undergraduate
- Instructional Material
= Interactive Simulation
Intended Users Formats Ratings
- Learners
- Educators
- application/java
  • Currently 0.0/5

Want to rate this material?
Login here!


Access Rights:
Free access
License:
This material is released under a GNU General Public License Version 3 license. Additional information is available.
Rights Holder:
Wolfgang Christian
Record Cloner:
Metadata instance created May 8, 2009 by Wolfgang Christian
Record Updated:
June 10, 2014 by Andreu Glasmann
Last Update
when Cataloged:
December 16, 2008
Other Collections:

ComPADRE is beta testing Citation Styles!

Record Link
AIP Format
W. Christian, Computer Program LINEAR CONGRUENT RANDOM NUMBER GENERATOR MODEL, Version 1.0 (2008), WWW Document, (http://www.compadre.org/Repository/document/ServeFile.cfm?ID=8892&DocID=1194).
AJP/PRST-PER
W. Christian, Computer Program LINEAR CONGRUENT RANDOM NUMBER GENERATOR MODEL, Version 1.0 (2008), <http://www.compadre.org/Repository/document/ServeFile.cfm?ID=8892&DocID=1194>.
APA Format
Christian, W. (2008). Linear Congruent Random Number Generator Model (Version 1.0) [Computer software]. Retrieved July 29, 2014, from http://www.compadre.org/Repository/document/ServeFile.cfm?ID=8892&DocID=1194
Chicago Format
Christian, Wolfgang. "Linear Congruent Random Number Generator Model." Version 1.0. http://www.compadre.org/Repository/document/ServeFile.cfm?ID=8892&DocID=1194 (accessed 29 July 2014).
MLA Format
Christian, Wolfgang. Linear Congruent Random Number Generator Model. Vers. 1.0. Computer software. 2008. Java 1.5. 29 July 2014 <http://www.compadre.org/Repository/document/ServeFile.cfm?ID=8892&DocID=1194>.
BibTeX Export Format
@misc{ Author = "Wolfgang Christian", Title = {Linear Congruent Random Number Generator Model}, Month = {December}, Year = {2008} }
Refer Export Format

%A Wolfgang Christian
%T Linear Congruent Random Number Generator Model
%D December 16, 2008
%U http://www.compadre.org/Repository/document/ServeFile.cfm?ID=8892&DocID=1194
%O 1.0
%O application/java

EndNote Export Format

%0 Computer Program
%A Christian, Wolfgang
%D December 16, 2008
%T Linear Congruent Random Number Generator Model
%7 1.0
%8 December 16, 2008
%U http://www.compadre.org/Repository/document/ServeFile.cfm?ID=8892&DocID=1194


Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.

Citation Source Information

The AIP Style presented is based on information from the AIP Style Manual.

The APA Style presented is based on information from APA Style.org: Electronic References.

The Chicago Style presented is based on information from Examples of Chicago-Style Documentation.

The MLA Style presented is based on information from the MLA FAQ.

This resource is stored in a shared folder.

You must login to access shared folders.

Linear Congruent Random Number Generator Model:

Is Based On Easy Java Simulations Modeling and Authoring Tool

The Easy Java Simulations Modeling and Authoring Tool is needed to explore the computational model used in the Linear Congruent Number Generator.

relation by Bruce Mason

Know of another related resource? Login to relate this resource to it.
Save to my folders

Supplements

Contribute

Related Materials

Similar Materials