johnmyleswhite / Isingmodels.jl
Licence: other
The Ising model as a Julian distribution
Programming Languages
julia
2034 projects
IsingModels.jl
Draw inexact samples from the Ising model using a Gibbs sampler.
using IsingModels
d = Ising(20, isferromagnetic = true)
for t in 1.0:1.0:5.0
d.temperature = t
show(rand(d))
end
d.isferromagnetic = false
for t in 1.0:1.0:5.0
d.temperature = t
show(rand(d))
end
writecsv("draw.csv",
rand(Ising(200,
isferromagnetic = true,
temperature = 1.0)))
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].