ajdmom.utils.comb

ajdmom.utils.comb(n, ns)[source]

number of occurrences for an exact combination

Parameters:
  • n (int) – total power, = sum(ns)

  • ns (list) – list of powers, \(n_1 + \cdots + n_N = n\)

Returns:

number of occurrences for this exact combination

Returns:

float