mushi.utils.C

C(n)[source]

The combinatorial matrix \(\mathbf C\) defined in the paper’s appendix.

Parameters:

n (int) – the number of sampled haplotypes \(n\)

Return type:

Array

Returns:

\((n-1)\times(n-1)\) matrix