Numpy Random Number Generators

Fawzi Mohamed fmohamed at mac.com
Tue May 12 07:39:54 PDT 2009


On 2009-05-02 12:36:16 +0200, Michel Fortin <michel.fortin at michelf.com> said:

> On 2009-05-01 15:10:50 -0400, dsimcha <dsimcha at yahoo.com> said:
> 
>> IDK, I mean, I cut and pasted the code into my D IDE and tweaked it to 
>> get it to
>> compile and then did some statistical tests to make sure the distributions were
>> still reproduced faithfully.  I didn't even change any of the variable names or
>> code structure or anything in most cases.  It's a straight translation, 
>> not a real
>> reimplementation.  I don't see how something like this could possibly *not* be
>> considered a derivative work, and I think the people who wrote the original lib
>> definitely deserve to be given credit.  It's just that some of the BSD 
>> legalese is
>> a little bit of a PITA for code that's in a standard lib.
> 
> You can always ask for permission at the source. You never know, they 
> may agree to allow you to put your D port under a license that'd work 
> for Phobos. As long as there isn't too many copyright holders, it might 
> work.

otherwise adding the missing distributions (gaussian, exponential & 
gamma are already there, and done efficiently) to 
tango.math.random.Random would also be welcomed.

Fawzi



More information about the Digitalmars-d-announce mailing list