Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::vector<int> convolution(std::vector<int> a, std::vector<int> b)
- {
- a.insert(a.end(), a.size(), 0);
- b.insert(b.end(), b.size(), 0);
- a = forward_dft(a);
- b = forward_dft(b);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement