Help with random() macro function
Posted by
AAM71 on
Nov 04, 2018; 6:30pm
URL: http://imagej.273.s1.nabble.com/Help-with-random-macro-function-tp5021403.html
Dear All,
Can you explain how exactly random("seed",seed) function works? Do I need to use it to generate seed before each random() instance? Or just once? Or it substitutes random() itself? I have tried to find info but still do not get it.
As I understood "seed" is used to make random function less pseudo-random. So, if I get time stamp as a seed then "pseudo" part is allegedly decreased. But practical application (especially using loops or user functions) is not explained well on ImageJ web-site.
Thank you in advance!
Sincerely,
Alex
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html