登录
首页 » c++ » ising模型的蒙特卡洛模拟

ising模型的蒙特卡洛模拟

于 2022-03-02 发布 文件大小:1.26 kB
0 145
下载积分: 2 下载次数: 2

代码说明:

二维数的ising模型的蒙特卡洛模拟,对于一般的分布的采样,在很多的编程语言中都有实现,如最基本的满足均匀分布的随机数,但是对于复杂的分布,要想对其采样,却没有实现好的函数,在这里,可以使用马尔可夫链蒙特卡罗(Markov Chain Monte Carlo, MCMC)方法,其中Metropolis-Hastings采样和Gibbs采样是MCMC中使用较为广泛的两种形式。MCMC的基础理论为马尔可夫过程,在MCMC算法中,为了在一个指定的分布上采样,根据马尔可夫过程,首先从任一状态出发,模拟马尔可夫过程,不断进行状态转移,最终收敛到平稳分布。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • PropCalc_en_Win
    用于计算螺旋桨桨的功率系数、拉力系数、效率、进距比等,可用于螺旋桨性能优化设计!(Propeller performance calcualtion, such as Cp, Ct, J ,efficiency)
    2021-01-14 15:38:46下载
    积分:1
  • 实验五_(源程序2)
    掌握OpenGL中的矩阵变换、模型视图变换及投影变换。(The perspective projection, main view, overhead view and side view of the space tetrahedron shown in Figure 7-41 of the textbook P228 are displayed in four viewing areas using the multi-view area in OpenGL.)
    2019-06-09 22:48:07下载
    积分:1
  • 该程序基于8279与8051的接口给出了其驱动程序,有一定实用价值...
    该程序基于8279与8051的接口给出了其驱动程序,有一定实用价值 -procedures based on the 8279 and 8051 interface gives its driver, a certain practical value
    2022-02-14 23:22:04下载
    积分:1
  • PIDzs
    光电编码器,是一种通过光电转换将输出轴上的机械几何位移量转换成脉冲或数字量的传感器。 这是目前应用最多的传感器,光电编码器是由光栅盘和光电检测装置组成。光栅盘是在一定直径的圆板上等分地开通若干个长方形孔。由于光电码盘与电动机同轴,电动机旋转时,光栅盘与电动机同速旋转,经发光二极管等电子元件组成的检测装置检测输出若干脉冲信号(Photoelectric encoder, a photoelectric conversion to the output shaft of the mechanical geometry of displacement into a pulse or digital sensors. This is currently the most widely used sensors, optical encoder is determined by the grating disk and photoelectric detection device component. Grating disc is a circular plate in such a diameter of several rectangular holes partially opened. Because coaxial photoelectric encoder and the motor, the motor rotates, the grating disk rotates with the same speed motor, the light-emitting diodes and other electronic components of the detection device detects certain pulse signal output)
    2013-08-19 20:34:47下载
    积分:1
  • TCPView_second
    This is a Scaling function definition Image cutoff ratio for H = 3
    2015-08-06 21:31:01下载
    积分:1
  • usb示例代码(pic16f690)
    【实例简介】#include //绿屏版SHIYAN __CONFIG(0X3BE4); //关闭看门狗,选择高速晶振,上电延时复位,掉电复位使能,代码保护 //#include "tab1.h" #include "tab2.h" #include "dianzhen12864.h" #include "AD.h" unsigned char ReadEE(unsigned char addr); void WriteEE(unsigned char addr,unsigned char data);        //写EEPROM void get_AD(); uchar hour=0; //时分秒 uchar min=0;   uchar sec=0; uint mah;//容量 mah表示 uint mahYS;//容量 mah表示 uchar valL; uchar valH; unsigned long int mas=0;//ma秒,3600mas=1mah bit GL=0;
    2021-08-08 00:30:58下载
    积分:1
  • K60-document
    k60的相关资料,可用于智能车程序的学习(k60 the relevant information can be used for the learning of the intelligent vehicle program)
    2012-09-29 20:25:10下载
    积分:1
  • 用计算机实现图论中的最短路径程序
    图论算法解决最短路径问题,可修改可套用,一学就会(Graph theory algorithm can be modified and applied to solve the shortest path problem.)
    2020-06-17 01:00:02下载
    积分:1
  • ATM模拟系统
    基于C++开发的ATM模拟程序,具有常见的功能,可以提供显示,账户保存,取款,存款等功能,程序注释完整,适合初学者
    2022-05-13 20:52:02下载
    积分:1
  • 对点云基于坡度滤波
    用c++实现的,对点云数据进行基于坡度滤波。
    2022-08-14 03:14:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载