module GCD
Extended Modules
Defined in:
math/gcd.crInstance Method Summary
-
#convolution(f : Array(T), g : Array(T)) forall T
result[n] = Sum_{gcd(i, j) = n} f[i] * g[j]
Instance Method Detail
result[n] = Sum_{gcd(i, j) = n} f[i] * g[j]