Login  Register

Re: Macro function for random seed?

Posted by Gabriel Landini on Jan 21, 2010; 11:58am
URL: http://imagej.273.s1.nabble.com/Copying-files-with-a-Macro-tp3689619p3689627.html

On Thursday 21 Jan 2010  11:54:48 you wrote:
> does the macro language allow to reproduce a random series from a seed
>  number?

The linear congruential method is not the best, but it is easy to implement:

http://en.wikipedia.org/wiki/Linear_congruential_generator

I hope it helps.

Cheers

G.