numl.Supervised.NaiveBayes.Measure.Increment C# (CSharp) Method

Increment() private method

Increments.
Thrown when the requested operation is invalid.
private Increment ( double x ) : void
x double The x coordinate.
return void
        internal void Increment(double x)
        {
            var p = GetStatisticFor(x);
            if (p == null) throw new InvalidOperationException("Range not found!");
            p.Count++;
        }