Total circles area: Difference between revisions
Content added Content deleted
(+ idea attribution) |
(+ comment efficiency in Python entry) |
||
Line 42: | Line 42: | ||
=={{header|Python}}== |
=={{header|Python}}== |
||
This implements a regular grid sampling. For this problems this is more efficient than a Montecarlo sampling. |
|||
<lang python>from collections import namedtuple |
<lang python>from collections import namedtuple |
||