Module mobius

Source
Expand description

高速Möbius変換

Functions§

fast_mobius_subset
$\mathtt{f_j} = \sum_{\mathtt{i \subseteq j}} \mathtt{F_i}$を満たすFを求める。
fast_mobius_superset
$\mathtt{f_j} = \sum_{\mathtt{i \supseteq j}} \mathtt{F_i}$を満たすFを求める。