Maths for ML / Notation

n!n!

factorial

Sums and productsBeginner

Say it “n factorial”

Multiply all whole numbers from 1 up to n.

Example

4!=244! = 24

In code

math.factorial(n)

Where you’ll see it in ML

Counting permutations; binomial and Poisson distributions.

← All 94 symbols