Calculating mean and standard deviation with std.algorithm.reduce

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Wed Feb 13 07:05:07 PST 2013


On 02/13/2013 03:48 PM, FG wrote:
> Typical thing with examples - they try to be terse and show off a mechanism like
> reduce, without going into too much details and hence are unusable IRL.

My favourite -- in the tutorial for a really serious piece of scientific code 
written in C:

      int n = rand() % 10;


More information about the Digitalmars-d-learn mailing list