Browse Source

Documentation fixes.

la-knuth
Jurgen Van Gael 17 years ago
parent
commit
5b3ee6feb6
  1. 2
      src/Numerics/Distributions/Discrete/Binomial.cs
  2. 2
      src/Numerics/Distributions/Discrete/Categorical.cs

2
src/Numerics/Distributions/Discrete/Binomial.cs

@ -86,7 +86,7 @@ namespace MathNet.Numerics.Distributions
/// </summary>
/// <param name="p">The success probability of a trial.</param>
/// <param name="n">The number of trials.</param>
/// <returns>false <paramref name="p"/> is not in the interval [0.0,1.0] or <paramref name="n"/> is negative, true otherwise.</exception>
/// <returns>false <paramref name="p"/> is not in the interval [0.0,1.0] or <paramref name="n"/> is negative, true otherwise.</returns>
private static bool IsValidParameterSet(double p, int n)
{
if(p < 0.0 || p > 1.0 || Double.IsNaN(p))

2
src/Numerics/Distributions/Discrete/Categorical.cs

@ -76,7 +76,7 @@ namespace MathNet.Numerics.Distributions
/// will not be automatically updated when the histogram changes. The categorical distribution will have
/// one value for each bucket and a probability for that value proportional to the bucket count.
/// </summary>
/// <param name="h">The histogram from which to create the categorical variable.</param>
/// <param name="histogram">The histogram from which to create the categorical variable.</param>
public Categorical(Histogram histogram)
{
if (histogram == null)

Loading…
Cancel
Save