diff --git a/src/Numerics/Generate.cs b/src/Numerics/Generate.cs index 151b2621..69f11ef3 100644 --- a/src/Numerics/Generate.cs +++ b/src/Numerics/Generate.cs @@ -272,7 +272,7 @@ namespace MathNet.Numerics /// Create a periodic sample vector. /// /// The number of samples to generate. - /// + /// The function to apply to each of the values and evaluate the resulting sample. /// Samples per time unit (Hz). Must be larger than twice the frequency to satisfy the Nyquist criterion. /// Frequency in periods per time unit (Hz). /// The lenght of the period when sampled at one sample per time unit. This is the interval of the periodic domain, a typical value is 1.0, or 2*Pi for angular functions. @@ -330,6 +330,7 @@ namespace MathNet.Numerics /// /// Create an infinite periodic sample sequence. /// + /// The function to apply to each of the values and evaluate the resulting sample. /// Samples per time unit (Hz). Must be larger than twice the frequency to satisfy the Nyquist criterion. /// Frequency in periods per time unit (Hz). /// The lenght of the period when sampled at one sample per time unit. This is the interval of the periodic domain, a typical value is 1.0, or 2*Pi for angular functions. diff --git a/src/Numerics/Random/Xorshift.cs b/src/Numerics/Random/Xorshift.cs index c42c95cd..56b0f6e5 100644 --- a/src/Numerics/Random/Xorshift.cs +++ b/src/Numerics/Random/Xorshift.cs @@ -266,6 +266,7 @@ namespace MathNet.Numerics.Random /// /// Returns an array of random numbers greater than or equal to 0.0 and less than 1.0. /// + [CLSCompliant(false)] public static double[] Samples(int length, int seed, ulong a = ASeed, ulong c = CSeed, ulong x1 = YSeed, ulong x2 = ZSeed) { if (a <= c) @@ -295,6 +296,7 @@ namespace MathNet.Numerics.Random /// /// Returns an infinite sequence of random numbers greater than or equal to 0.0 and less than 1.0. /// + [CLSCompliant(false)] public static IEnumerable SampleSequence(int seed, ulong a = ASeed, ulong c = CSeed, ulong x1 = YSeed, ulong x2 = ZSeed) { if (a <= c)