Re: [math] exposing getNatural and shuffle from RandomDataGenerator

2013-07-22 Thread Phil Steitz
On 7/22/13 12:19 PM, Gilles wrote: > On Sun, 21 Jul 2013 20:40:42 -0700, Phil Steitz wrote: >> I would like to use getNatural and shuffle from RandomDataGenerator >> outside of that class (inside [math] I need to efficiently generate >> random n-m partitions of {0, ..., n + m - 1}). I think getNat

Re: [math] exposing getNatural and shuffle from RandomDataGenerator

2013-07-22 Thread Gilles
On Sun, 21 Jul 2013 20:40:42 -0700, Phil Steitz wrote: I would like to use getNatural and shuffle from RandomDataGenerator outside of that class (inside [math] I need to efficiently generate random n-m partitions of {0, ..., n + m - 1}). I think getNatural could go into MathArrays and shuffle co

Re: [math] exposing getNatural and shuffle from RandomDataGenerator

2013-07-22 Thread Thomas Neidhart
On 07/22/2013 05:40 AM, Phil Steitz wrote: > I would like to use getNatural and shuffle from RandomDataGenerator > outside of that class (inside [math] I need to efficiently generate > random n-m partitions of {0, ..., n + m - 1}). I think getNatural > could go into MathArrays and shuffle could ju

[math] exposing getNatural and shuffle from RandomDataGenerator

2013-07-21 Thread Phil Steitz
I would like to use getNatural and shuffle from RandomDataGenerator outside of that class (inside [math] I need to efficiently generate random n-m partitions of {0, ..., n + m - 1}). I think getNatural could go into MathArrays and shuffle could just be exposed by RandomDataGenerator. Any objectio