genUniform {isingLenzMC} | R Documentation |
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.
Author(s)
Mehmet Suzen <mehmet.suzen@physics.org>
Examples
genUniform()
[Package isingLenzMC version 0.2.5 Index]