ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> exslt
exslt
Re: [exslt] math:constant() and math:random()
by David N Bertoni/Cambridge/IBM other posts by this author
Apr 28 2002 6:08PM messages near this date
Re: [exslt] xsl:import : error | Re: [exslt] math:constant() and math:random()
Hi Jeni,

>  Right. I was imagining it differently, I think -- math:random($length)
>  will always give you the same sequence of random numbers, so
>  math:random($length, $seed) would be used to get a different sequence
>  of random numbers, of the same length. The utility would be in
>  providing that different sequence of random numbers, rather than the
>  next random number in the same sequence. David -- was that what you
>  had in mind when you suggested seed?

Yes.

Dave


_______________________________________________
exslt mailing list
list@[...].org
http://www.exslt.org/list
Thread:
David N Bertoni/Cambridge/IBM
Dimitre Novatchev

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved