commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [4/6] commons-rng git commit: RNG-35: Deprecate Box-Muller implementation for N(mu, sigma) sampling.
Date Mon, 23 Jan 2017 23:23:09 GMT
RNG-35: Deprecate Box-Muller implementation for N(mu,sigma) sampling.


Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/82476dfc
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/82476dfc
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/82476dfc

Branch: refs/heads/feature__RNG-35
Commit: 82476dfcdf97ea7181b4d1939e9f559443801d2b
Parents: 8b4a5ec
Author: Gilles <erans@apache.org>
Authored: Tue Jan 24 00:13:13 2017 +0100
Committer: Gilles <erans@apache.org>
Committed: Tue Jan 24 00:13:13 2017 +0100

----------------------------------------------------------------------
 .../rng/sampling/distribution/BoxMullerGaussianSampler.java      | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/82476dfc/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/BoxMullerGaussianSampler.java
----------------------------------------------------------------------
diff --git a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/BoxMullerGaussianSampler.java
b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/BoxMullerGaussianSampler.java
index a2b4f00..489cda3 100644
--- a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/BoxMullerGaussianSampler.java
+++ b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/BoxMullerGaussianSampler.java
@@ -21,7 +21,11 @@ import org.apache.commons.rng.UniformRandomProvider;
 /**
  * <a href="https://en.wikipedia.org/wiki/Box%E2%80%93Muller_transform">
  * Box-Muller algorithm</a> for sampling from a Gaussian distribution.
+ *
+ * @deprecated since v1.1. Please use {@link BoxMullerNormalizedGaussianSampler}
+ * and {@link GaussianSampler} instead.
  */
+@Deprecated
 public class BoxMullerGaussianSampler
     extends SamplerBase
     implements ContinuousSampler {


Mime
View raw message