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
Linear Congruent Number Generator source code.
The source code zip archive contains an XML representation of the EJS Linear Congruent Number Generator Model. Unzip this archive in your Ejs workspace to… more... download 121kb .zip Last Modified: June 17, 2010 previous versions
ComPADRE is beta testing Citation Styles!
Record Link
<a href="http://www.compadre.org/portal/items/detail.cfm?ID=8892">Christian, Wolfgang. "Linear Congruent Random Number Generator Model." Version 1.0.</a>
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 April 28, 2015, 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 28 April 2015).
MLA Format
Christian, Wolfgang. Linear Congruent Random Number Generator Model. Vers. 1.0. Computer software. 2008. Java 1.5. 28 Apr. 2015 <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
EndNote Export Format
%0 Computer Program 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 MasonKnow of another related resource? Login to relate this resource to it. |
SupplementsContributeRelated MaterialsSimilar Materials |