Module mathol::stochastics::probability [] [src]

Functions

combination

Calculates how many times the elements of a given set can be arranged in no particular order without repetition.

combination_with_repetition

Calculates how many times the elements of a given set can be arranged in no particular order with repetition.

factorial

Calculates the factorial of a given number n.

permutation

Calculates the number of possibilities the elements of a given multiset (a set containing smaller sets) can be arranged in a specific order.

variation

Calculates how many times the elements of a given set can be arranged in a particular order without repetition.

variation_with_repetition

Calculates how many times the elements of a given set can be arranged in a particular order with repetition.