Rdocumentation
powered by
Learn R Programming
isingLenzMC (version 0.2.5)
genUniform: Get uniformly a spin state
Description
Generate a single spin state from uniform distribution.
Usage
genUniform(n)
Arguments
n
dummy argument
Value
Returns randomly 1 or -1 from uniform distribution.
Examples
Run this code
genUniform()
Run the code above in your browser using
DataLab