20.11.2014 Views

Modelowanie molekularne - metody Monte Carlo

Modelowanie molekularne - metody Monte Carlo

Modelowanie molekularne - metody Monte Carlo

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Wprowadzenie Pola siłowe Klasyczna metoda <strong>Monte</strong> <strong>Carlo</strong> Kwantowe <strong>metody</strong> <strong>Monte</strong> <strong>Carlo</strong><br />

Generowanie liczb pseudolosowych<br />

Liczby losowe z przedziału (0, 1) można odwzorować na dowolny<br />

przedział za pomocą funkcji liniowej<br />

∀ x∈(0,1) y = a + (b − a)x ⇒ y ∈ (a, b)<br />

Liczby te zwykle uzyskujemy za pomocą algorytmów<br />

rekeurencyjnych - są to więc liczby pseudolosowe.<br />

Podstawową operacją wykorzystywaną w prostych generatorach<br />

jest modulo<br />

y = x mod m ⇔ ∃ n x = nm + y.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!