numba
Utilities to support Numba jitted functions
-
quantecon.util.numba.comb_jit(N, k)[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:
- Nscalar(int)
- kscalar(int)
- Returns:
- valscalar(int)