This is an automated email from the ASF dual-hosted git repository. aherbert pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/commons-rng.git.
from b276099 RNG-133: LineSampler to sample uniformly on a line segment new d344c5f RNG-134: BoxSampler to sample uniformly from a box (or hyperrectangle) new 42afd67 Update assertion message to remove formatted double value. new fb24471 Move shape sampler JMH benchmarks to a shape package The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../{ => shape}/TriangleSamplerBenchmark.java | 2 +- .../{ => shape}/UnitBallSamplerBenchmark.java | 2 +- .../{simple => sampling/shape}/package-info.java | 4 +- .../commons/rng/sampling/shape/BoxSampler.java | 269 +++++++++++++++++++++ .../{LineSamplerTest.java => BoxSamplerTest.java} | 139 ++++------- .../rng/sampling/shape/LineSamplerTest.java | 2 +- src/changes/changes.xml | 3 + 7 files changed, 329 insertions(+), 92 deletions(-) rename commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/sampling/{ => shape}/TriangleSamplerBenchmark.java (99%) rename commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/sampling/{ => shape}/UnitBallSamplerBenchmark.java (99%) copy commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/{simple => sampling/shape}/package-info.java (85%) create mode 100644 commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/shape/BoxSampler.java copy commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/shape/{LineSamplerTest.java => BoxSamplerTest.java} (75%)