scSemiProfiler.utils.comb

scSemiProfiler.utils.comb(a, b)[source]

Combination number

Parameters
  • a (int) – The total number of choice

  • b (int) – The number of elements to choose.

Return type

mpmath.ctx_mp_python.mpf

Returns

cad – Choose a from b

Example

>>> print(comb(5,3))