You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2019/07/31 23:50:34 UTC

[commons-rng] branch master updated: Fixed javadoc link tags.

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git


The following commit(s) were added to refs/heads/master by this push:
     new 5e3467c  Fixed javadoc link tags.
5e3467c is described below

commit 5e3467caab9fde9fe0a070d20d4c40c0b3330c20
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Thu Aug 1 00:50:30 2019 +0100

    Fixed javadoc link tags.
---
 .../commons/rng/sampling/distribution/GaussianSampler.java    | 11 ++++++-----
 .../commons/rng/sampling/distribution/LogNormalSampler.java   | 11 ++++++-----
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/GaussianSampler.java b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/GaussianSampler.java
index 580f772..d7f2e11 100644
--- a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/GaussianSampler.java
+++ b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/GaussianSampler.java
@@ -77,11 +77,12 @@ public class GaussianSampler implements SharedStateContinuousSampler {
      * {@inheritDoc}
      *
      * <p>Note: This function is available if the underlying {@link NormalizedGaussianSampler}
-     * is a {@link SharedStateSampler}. Otherwise a run-time exception is thrown.</p>
+     * is a {@link org.apache.commons.rng.sampling.SharedStateSampler SharedStateSampler}.
+     * Otherwise a run-time exception is thrown.</p>
      *
      * @throws UnsupportedOperationException if the underlying sampler is not a
-     * {@link SharedStateSampler} or does not return a {@link NormalizedGaussianSampler} when
-     * sharing state.
+     * {@link org.apache.commons.rng.sampling.SharedStateSampler SharedStateSampler} or
+     * does not return a {@link NormalizedGaussianSampler} when sharing state.
      */
     @Override
     public SharedStateContinuousSampler withUniformRandomProvider(UniformRandomProvider rng) {
@@ -92,8 +93,8 @@ public class GaussianSampler implements SharedStateContinuousSampler {
      * Create a new normalised Gaussian sampler.
      *
      * <p>Note: The shared-state functionality is available if the {@link NormalizedGaussianSampler}
-     * is a {@link SharedStateSampler}. Otherwise a run-time exception will be thrown when the
-     * sampler is used to share state.</p>
+     * is a {@link org.apache.commons.rng.sampling.SharedStateSampler SharedStateSampler}.
+     * Otherwise a run-time exception will be thrown when the sampler is used to share state.</p>
      *
      * @param normalized Generator of N(0,1) Gaussian distributed random numbers.
      * @param mean Mean of the Gaussian distribution.
diff --git a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/LogNormalSampler.java b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/LogNormalSampler.java
index b0ccf12..561cdd9 100644
--- a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/LogNormalSampler.java
+++ b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/LogNormalSampler.java
@@ -78,11 +78,12 @@ public class LogNormalSampler implements SharedStateContinuousSampler {
      * {@inheritDoc}
      *
      * <p>Note: This function is available if the underlying {@link NormalizedGaussianSampler}
-     * is a {@link SharedStateSampler}. Otherwise a run-time exception is thrown.</p>
+     * is a {@link org.apache.commons.rng.sampling.SharedStateSampler SharedStateSampler}.
+     * Otherwise a run-time exception is thrown.</p>
      *
      * @throws UnsupportedOperationException if the underlying sampler is not a
-     * {@link SharedStateSampler} or does not return a {@link NormalizedGaussianSampler} when
-     * sharing state.
+     * {@link org.apache.commons.rng.sampling.SharedStateSampler SharedStateSampler} or
+     * does not return a {@link NormalizedGaussianSampler} when sharing state.
      */
     @Override
     public SharedStateContinuousSampler withUniformRandomProvider(UniformRandomProvider rng) {
@@ -93,8 +94,8 @@ public class LogNormalSampler implements SharedStateContinuousSampler {
      * Create a new log-normal distribution sampler.
      *
      * <p>Note: The shared-state functionality is available if the {@link NormalizedGaussianSampler}
-     * is a {@link SharedStateSampler}. Otherwise a run-time exception will be thrown when the
-     * sampler is used to share state.</p>
+     * is a {@link org.apache.commons.rng.sampling.SharedStateSampler SharedStateSampler}.
+     * Otherwise a run-time exception will be thrown when the sampler is used to share state.</p>
      *
      * @param gaussian N(0,1) generator.
      * @param scale Scale of the log-normal distribution.