commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [1/6] commons-rng git commit: RNG-35: Marker interface for N(0, 1) Gaussian sampler.
Date Mon, 23 Jan 2017 23:23:06 GMT
Repository: commons-rng
Updated Branches:
  refs/heads/feature__RNG-35 [created] 94f084324


RNG-35: Marker interface for N(0,1) Gaussian sampler.


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

Branch: refs/heads/feature__RNG-35
Commit: 72bf01f5fe930717884914220fc57cecb05fb435
Parents: b2dd661
Author: Gilles <erans@apache.org>
Authored: Tue Jan 24 00:06:21 2017 +0100
Committer: Gilles <erans@apache.org>
Committed: Tue Jan 24 00:06:21 2017 +0100

----------------------------------------------------------------------
 .../distribution/NormalizedGaussianSampler.java | 24 ++++++++++++++++++++
 1 file changed, 24 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/72bf01f5/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/NormalizedGaussianSampler.java
----------------------------------------------------------------------
diff --git a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/NormalizedGaussianSampler.java
b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/NormalizedGaussianSampler.java
new file mode 100644
index 0000000..014f275
--- /dev/null
+++ b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/NormalizedGaussianSampler.java
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.rng.sampling.distribution;
+
+/**
+ * Marker interface for a sampler that generates values from an N(0,1)
+ * <a href="https://en.wikipedia.org/wiki/Normal_distribution">
+ *  Gaussian distribution</a>.
+ */
+public interface NormalizedGaussianSampler extends ContinuousSampler {}


Mime
View raw message