| java.lang.Object examples.MonteCarlo.MonteCarlo
MonteCarlo | final public class MonteCarlo implements Mapping(Code) | | Monte Carlo calculation of Helium ground state energy.
author: Mark Hale version: 1.0 |
Constructor Summary | |
public | MonteCarlo(int n) Constructor. |
Method Summary | |
public static void | main(String arg) Instantiate class. | public double | map(double x) Update electron co-ordinates. | public Complex | map(Complex z) Not used, dummy implementation for Mapping interface. |
MonteCarlo | public MonteCarlo(int n)(Code) | | Constructor.
Parameters: n - number of iterations |
main | public static void main(String arg)(Code) | | Instantiate class.
|
map | public double map(double x)(Code) | | Update electron co-ordinates.
|
|
|