Applies the intersection law to find the find the probability of intersection of two sets of events.
The probability of the union between the two events.
That is, we calculates the probability of an event occurring which is contained within the intersection of two sets of events for which the probability and the probability of the union is known.
Exception Type | Condition |
---|---|
WrongProbabilityException | Thrown if any of the measures of probability is not within [0,1]. |
Probability Class | DiscreteProbability Namespace