Loān-sò͘ sán-seng
Verde
Tiān-náu hong-hoat
siu-káiTùi tiān-náu lâi kóng kha ki-pún ê chi̍t khoán hong-hoat sī sòaⁿ-hêng ha̍p-tông sán-seng-khì (linear congruential generator), i-ê chài-hiān-sek (recurrence) koan-hē sī:
Lāi-bīn sī chi̍t hē-lia̍t ê ké-loān-sò͘; sī modulo ūn-sǹg (chhōe î-sò͘ ê tû-hoat); ; ; ; , che tio̍h sī só͘ kóng ê loān-sò͘ chéng-chí (seed).
Tû liáu chi̍t khoán ki-pún hong-sek í-gōa, ū chin chē sán-seng chū-tōng loān-sò͘ ê ián-sǹg-hoat kap kái-chìn hông hoat-bêng. Phì-jū ē-tàng hō͘ thêng-sek khì tha̍k tiān-náu ê sî-kan, ēng sî-kan ê sò͘-bo̍k lâi sán-seng chéng-chí; ia̍h ū lâng kā tiān-náu sú-iōng-chiá phah-jī ê sî-kan chha theh lâi lī-ēng.
Chham-khó
siu-kái- Henderson, Harry (2009). "random number generation". Encyclopedia of Computer Science and Technology (Revised Edition). Facts On File. ISBN 978-0-8160-6382-6.
- "random numbers". A Dictionary of Computer Science (tē-7 pán.). Oxford University Press. 2016. ISBN 978-0-19-100288-5.
Liân-kiat
siu-káiPún bûn-chiuⁿ sī chi̍t phiⁿ phí-á-kiáⁿ. Lí thang tàu khok-chhiong lâi pang-chō͘ Wikipedia. |