+2
Ukończony

randn()

Denys Dutykh 11 lat temu Ostatnio zmodyfikowane przez Pavel Holoborodko 11 lat temu 0

I would suggest to add a function randn() which generates pseudo-random numbers according to the normal distribution.


In several cases it happened to me that I needed to generate a randomly perturbed initial condition to test the sensitivity of the solution by performing then extended multi-precision computations.


Thanks in advance!

Odpowiedź

Odpowiedź
Ukończony

Today we have added mp.randn to the toolbox (Windows). 

Linux & Mac OS X versions will be updated shortly.

Thank you for the suggestion.

Odpowiedź
Ukończony

Today we have added mp.randn to the toolbox (Windows). 

Linux & Mac OS X versions will be updated shortly.

Thank you for the suggestion.