Re: PRNG in Scala

2015-03-03 Thread Robin East
And this SO post goes into details on the PRNG in Java

http://stackoverflow.com/questions/9907303/does-java-util-random-implementation-differ-between-jres-or-platforms

> On 3 Mar 2015, at 16:15, Robin East  wrote:
> 
> This is more of a java/scala question than spark - it uses java.util.Random : 
> https://github.com/scala/scala/blob/2.11.x/src/library/scala/util/Random.scala
>  
> 
> 
> 
>> On 3 Mar 2015, at 15:08, Vijayasarathy Kannan > > wrote:
>> 
>> Hi,
>> 
>> What pseudo-random-number generator does scala.util.Random uses?
> 



Re: PRNG in Scala

2015-03-03 Thread Robin East
This is more of a java/scala question than spark - it uses java.util.Random : 
https://github.com/scala/scala/blob/2.11.x/src/library/scala/util/Random.scala


> On 3 Mar 2015, at 15:08, Vijayasarathy Kannan  wrote:
> 
> Hi,
> 
> What pseudo-random-number generator does scala.util.Random uses?