|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJSci.Demos.MonteCarlo.MonteCarlo
public final class MonteCarlo
Monte Carlo calculation of Helium ground state energy.
Constructor Summary | |
---|---|
MonteCarlo(int n)
Constructor. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] arg)
Instantiate class. |
Complex |
map(Complex z)
Not used, dummy implementation for Mapping interface. |
double |
map(double x)
Update electron co-ordinates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MonteCarlo(int n)
n
- number of iterationsMethod Detail |
---|
public static void main(java.lang.String[] arg)
public double map(double x)
map
in interface Mapping
public Complex map(Complex z)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |