Initial Commit
This commit is contained in:
15
Common/Auxiliary/RandomExtensions.cs
Normal file
15
Common/Auxiliary/RandomExtensions.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Microsoft.Research.DynamicDataDisplay.Common.Auxiliary
|
||||
{
|
||||
public static class RandomExtensions
|
||||
{
|
||||
public static double NextDouble(this Random rnd, double min, double max)
|
||||
{
|
||||
return min + (max - min) * rnd.NextDouble();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user