numba

Utilities to support Numba jitted functions

quantecon.util.numba.comb_jit[source]

Numba jitted function that computes N choose k. Return 0 if the outcome exceeds the maximum value of np.intp or if N < 0, k < 0, or k > N.

Parameters:
N : scalar(int)
k : scalar(int)
Returns:
val : scalar(int)