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 just be exposed by
> RandomDataGenerator. Any objections to making these public? (I
> promise to rewrite the javadoc for getNatural so it makes sense to
> non-logicians and I would even be OK with renaming it ;)
fyi: in collections there is now also a PermutationIterator for unique
permutations of a given input collection in case you have a need for this.
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]