16 lines
334 B
C#
16 lines
334 B
C#
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();
|
|
}
|
|
}
|
|
}
|