Method Math.choose()
- Method choose
int
choose(int
n
,int
k
)- Description
Calculate binomial koefficient
n
choosek
.This is equivalent to
n
!/(k
!*(n
-k
)!).
int
choose(int
n
, int
k
)
Calculate binomial koefficient n
choose k
.
This is equivalent to n
!/(k
!*(n
-k
)!).