Hi Matt, 2011/2/16 mattschinkel <[email protected]>: > Why was Stef Mientki's library converted instead of Wouter's from the > old jal? Because it was there.
> I see there was an issue a long time ago when the current random > library was created. for porting a lib to jallib: > http://code.google.com/p/jallib/issues/detail?id=55 What is implemented is a pseudo random algorithm and iirc it was significant enhanced compared to the previous algorithm (which is also used as a base for starterspack). All pseudo-random algorithms repeat their sequence over and over again. You need to supply a 'seed' if you don't want the same startpoint each time. This is unrelated to the sequence itself. > I find the old lib from Wouter is better since it creates a new start > random number each time the PIC is reset. I don't know this library, so I have no opinion. But please be aware that the quality of the random sequence is an important property too. Joep -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
