Subject: Re: [xsl] Random number generation : requirements From: "Liz Fraley caltonia@xxxxxxxxx" <xsllistservice@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 6 May 2014 18:32:31 0000 
How timely. I'd just been reading about how the ESAPI random number generation is broken... On Tue, May 6, 2014 at 10:13 AM, Dimitre Novatchev dnovatchev@xxxxxxxxx < xsllistservice@xxxxxxxxxxxxxxxxxxxxxx> wrote: > This has been implemented in pure XSLT 1 and is part of FXSL since 2002: > > > http://fxsl.sourceforge.net/articles/Random/Casting%20the%20Dice%20with%20FXSLhtm.htm > > There is generation of the "next" random number from the "current" > (essentially a functional composition, where the nth random number > is f^N(seed), generation of a random sequence, generation of a > sequence of numbers with probability distributions over > nonoverlapping intervals, etc. > > There is even MonteCarlo Integration method  based test :) > > Cheers, > Dimitre > > > > On Tue, May 6, 2014 at 9:54 AM, Michael Kay mike@xxxxxxxxxxxx > <xsllistservice@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > The W3C WGs are looking at the idea of introducing a randomnumber > function of some kind in XPath 3.1. The challenge of course is making this > both usable and a pure function with no sideeffects. We have various > design ideas which we need to test against requirements. > > > > If you have any applications that use or need such a function, please > could I have a brief description of the way it uses random numbers, e.g. > just wanting a single random number, a random permutation of 52 integers, > an arbitrary sequence of random numebrs for test data generation, etc. > > > > If you're currently using the EXSLT randomsequence() function, please > share your experience with it. > > > > Michael Kay > > Saxonica
Current Thread 


< Previous  Index  Next > 

Re: [xsl] Random number generation , Dimitre Novatchev dn  Thread  Re: [xsl] Random number generation , Eliot Kimber ekimber 
Re: [xsl] Random number generation , Eliot Kimber ekimber  Date  [xsl] Re: [xquerytalk] Random numb, Michael Kay mike@xxx 
Month 