Fast Möbius transform (Supersets)
(Mylib/Convolution/fast_mobius_transform_superset.cpp)
Operations
-
fast_mobius_transform_superset(f[N], op = std::minus())
-
N
は2の累乗
- $g(S) = \sum_{T \subseteq S} f(T) * (-1) ^ {\vert S \vert - \vert T \vert}$
Requirements
Notes
Problems
References
Required by
Verified with
Code
Back to top page