Refactored namespaces

This commit is contained in:
Thorsten Sommer 2020-09-26 11:40:01 +02:00
parent e1d3b9aa84
commit b893381707
8 changed files with 11 additions and 13 deletions

View File

@ -2,7 +2,7 @@ using System;
using System.Threading;
using System.Threading.Tasks;
namespace FastRng.Distributions.Double
namespace FastRng.Double.Distributions
{
public sealed class Exponential : IDistribution
{

View File

@ -2,7 +2,7 @@ using System;
using System.Threading;
using System.Threading.Tasks;
namespace FastRng.Distributions.Double
namespace FastRng.Double.Distributions
{
public sealed class Gamma : IDistribution
{

View File

@ -1,7 +1,7 @@
using System.Threading;
using System.Threading.Tasks;
namespace FastRng.Distributions.Double
namespace FastRng.Double.Distributions
{
public interface IDistribution
{

View File

@ -2,7 +2,7 @@ using System;
using System.Threading;
using System.Threading.Tasks;
namespace FastRng.Distributions.Double
namespace FastRng.Double.Distributions
{
public sealed class Normal : IDistribution
{

View File

@ -1,7 +1,7 @@
using System.Threading;
using System.Threading.Tasks;
namespace FastRng.Distributions.Double
namespace FastRng.Double.Distributions
{
public sealed class Uniform : IDistribution
{

View File

@ -1,9 +1,8 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using FastRng.Distributions.Double;
using FastRng.Double.Distributions;
namespace FastRng
namespace FastRng.Double
{
public interface IRandom
{

View File

@ -3,9 +3,9 @@ using System.Diagnostics.CodeAnalysis;
using System.Threading;
using System.Threading.Channels;
using System.Threading.Tasks;
using FastRng.Distributions.Double;
using FastRng.Double.Distributions;
namespace FastRng
namespace FastRng.Double
{
/// <summary>
/// This class uses the George Marsaglia's MWC algorithm. The algorithm's implementation based loosely on John D.

View File

@ -2,9 +2,8 @@ using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading.Tasks;
using FastRng;
using FastRng.Distributions;
using FastRng.Distributions.Double;
using FastRng.Double;
using FastRng.Double.Distributions;
using NUnit.Framework;
namespace FastRngTests