Re: [rng] UnitSphereSampler factory constructor

2021-07-23 Thread Gilles Sadowski
Le ven. 23 juil. 2021 à 23:23, Alex Herbert a écrit : > > When updating the documentation for new samplers I noticed that the shape > samplers accepted the RNG as the last argument to the factory constructor > methods: > > double[] a = {1, 2} > double[] b = {3, 4} > UniformRandomProvider rng =

[rng] UnitSphereSampler factory constructor

2021-07-23 Thread Alex Herbert
When updating the documentation for new samplers I noticed that the shape samplers accepted the RNG as the last argument to the factory constructor methods: double[] a = {1, 2} double[] b = {3, 4} UniformRandomProvider rng = RandonSouce.KISS.create() BoxSampler sampler = BoxSampler.of(a, b, rng);