Movatterモバイル変換
[0]ホーム
probability distribution function in python
Tawee Laoitichotetawee199 at ksc.th.com
Tue Apr 10 11:30:48 EDT 2001
Dear Tomasz,You have to calculate n! , any way. This will cause integer overflow. Butany way if you cheat the def factorial to be fp as follows;def fac(n): if n == 1. then return 1. return n*fac(n-1.)It works, but I don't like this way. Smalltalk can perform this calculationvery fast without losing its significance.tawee
More information about the Python-listmailing list
[8]ページ先頭