From e1d3b9aa844b27fd52098169fb70b9bce48fafa3 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sat, 26 Sep 2020 11:36:33 +0200 Subject: [PATCH] Renamed Distributions.Double --- FastRng/{Distributions => Distributions.Double}/Exponential.cs | 2 +- FastRng/{Distributions => Distributions.Double}/Gamma.cs | 2 +- .../{Distributions => Distributions.Double}/IDistribution.cs | 2 +- FastRng/{Distributions => Distributions.Double}/Normal.cs | 2 +- FastRng/{Distributions => Distributions.Double}/Uniform.cs | 2 +- FastRng/IRandom.cs | 2 +- FastRng/MultiThreadedRng.cs | 2 +- FastRngTests/MultiThreadedRngTests.cs | 1 + 8 files changed, 8 insertions(+), 7 deletions(-) rename FastRng/{Distributions => Distributions.Double}/Exponential.cs (95%) rename FastRng/{Distributions => Distributions.Double}/Gamma.cs (98%) rename FastRng/{Distributions => Distributions.Double}/IDistribution.cs (84%) rename FastRng/{Distributions => Distributions.Double}/Normal.cs (96%) rename FastRng/{Distributions => Distributions.Double}/Uniform.cs (89%) diff --git a/FastRng/Distributions/Exponential.cs b/FastRng/Distributions.Double/Exponential.cs similarity index 95% rename from FastRng/Distributions/Exponential.cs rename to FastRng/Distributions.Double/Exponential.cs index c1da09d..99a5027 100644 --- a/FastRng/Distributions/Exponential.cs +++ b/FastRng/Distributions.Double/Exponential.cs @@ -2,7 +2,7 @@ using System; using System.Threading; using System.Threading.Tasks; -namespace FastRng.Distributions +namespace FastRng.Distributions.Double { public sealed class Exponential : IDistribution { diff --git a/FastRng/Distributions/Gamma.cs b/FastRng/Distributions.Double/Gamma.cs similarity index 98% rename from FastRng/Distributions/Gamma.cs rename to FastRng/Distributions.Double/Gamma.cs index 4885e73..0731f95 100644 --- a/FastRng/Distributions/Gamma.cs +++ b/FastRng/Distributions.Double/Gamma.cs @@ -2,7 +2,7 @@ using System; using System.Threading; using System.Threading.Tasks; -namespace FastRng.Distributions +namespace FastRng.Distributions.Double { public sealed class Gamma : IDistribution { diff --git a/FastRng/Distributions/IDistribution.cs b/FastRng/Distributions.Double/IDistribution.cs similarity index 84% rename from FastRng/Distributions/IDistribution.cs rename to FastRng/Distributions.Double/IDistribution.cs index f4c3a7f..2931866 100644 --- a/FastRng/Distributions/IDistribution.cs +++ b/FastRng/Distributions.Double/IDistribution.cs @@ -1,7 +1,7 @@ using System.Threading; using System.Threading.Tasks; -namespace FastRng.Distributions +namespace FastRng.Distributions.Double { public interface IDistribution { diff --git a/FastRng/Distributions/Normal.cs b/FastRng/Distributions.Double/Normal.cs similarity index 96% rename from FastRng/Distributions/Normal.cs rename to FastRng/Distributions.Double/Normal.cs index ba88a95..0a63bba 100644 --- a/FastRng/Distributions/Normal.cs +++ b/FastRng/Distributions.Double/Normal.cs @@ -2,7 +2,7 @@ using System; using System.Threading; using System.Threading.Tasks; -namespace FastRng.Distributions +namespace FastRng.Distributions.Double { public sealed class Normal : IDistribution { diff --git a/FastRng/Distributions/Uniform.cs b/FastRng/Distributions.Double/Uniform.cs similarity index 89% rename from FastRng/Distributions/Uniform.cs rename to FastRng/Distributions.Double/Uniform.cs index 9a797fe..6fe5453 100644 --- a/FastRng/Distributions/Uniform.cs +++ b/FastRng/Distributions.Double/Uniform.cs @@ -1,7 +1,7 @@ using System.Threading; using System.Threading.Tasks; -namespace FastRng.Distributions +namespace FastRng.Distributions.Double { public sealed class Uniform : IDistribution { diff --git a/FastRng/IRandom.cs b/FastRng/IRandom.cs index 8ba83d5..b7e80bb 100644 --- a/FastRng/IRandom.cs +++ b/FastRng/IRandom.cs @@ -1,7 +1,7 @@ using System; using System.Threading; using System.Threading.Tasks; -using FastRng.Distributions; +using FastRng.Distributions.Double; namespace FastRng { diff --git a/FastRng/MultiThreadedRng.cs b/FastRng/MultiThreadedRng.cs index 7a72391..a756866 100644 --- a/FastRng/MultiThreadedRng.cs +++ b/FastRng/MultiThreadedRng.cs @@ -3,7 +3,7 @@ using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Channels; using System.Threading.Tasks; -using FastRng.Distributions; +using FastRng.Distributions.Double; namespace FastRng { diff --git a/FastRngTests/MultiThreadedRngTests.cs b/FastRngTests/MultiThreadedRngTests.cs index 94e66e4..443e43a 100644 --- a/FastRngTests/MultiThreadedRngTests.cs +++ b/FastRngTests/MultiThreadedRngTests.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Threading.Tasks; using FastRng; using FastRng.Distributions; +using FastRng.Distributions.Double; using NUnit.Framework; namespace FastRngTests