Percolation/Bond percolation: Difference between revisions

→‎{{header|D}}: marked incorrect for dubious results
(Updated D entry)
(→‎{{header|D}}: marked incorrect for dubious results)
Line 24:
 
=={{header|D}}==
{{incorrect|D| Results from p=0.3 to p=0.6 are statistically implausible, please check code. }}
 
{{trans|Python}}
Compared to the Python entry, the <code>initialize</code> function is a performance optimization usesuluseful when nTries is high.
<lang d>import std.stdio, std.random, std.array, std.algorithm, std.range,
std.typecons;
Anonymous user