Pike v8.0 release 1738

Method Math.choose()


Method choose

int choose(int n, int k)

Description

Calculate binomial koefficient n choose k.

This is equivalent to n!/(k!*(n-k)!).