WebCab Probability and Statistics for .NET v3.3 Demo

Probability Constructor (Int32[], Double[])

Creates a Probability instance and adds a the measure of probability upon a given set.

public Probability(
   int[] set,
   double[] probability
);

Parameters

set
A set upon which the measure of probability is defined.
probability
The measure of probability.

Exceptions

Exception TypeCondition
WrongProbabilityExceptionThrown when the probability given does not lie within the range [0,1].

See Also

Probability Class | WebCab.Libraries.Statistics.DiscretePrb Namespace | Probability Constructor Overload List