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