SCIPcalcBinomCoef

Function SCIPcalcBinomCoef 

Source
pub unsafe extern "C" fn SCIPcalcBinomCoef(
    n: c_int,
    m: c_int,
) -> c_longlong
Expand description

calculates a binomial coefficient n over m, choose m elements out of n, maximal value will be 33 over 16 (because the n=33 is the last line in the Pascal’s triangle where each entry fits in a 4 byte value), an error occurs due to big numbers or an negative value m (and m < n) and -1 will be returned