{"id":60684,"library":"pocketfft","title":"PocketFFT","description":"This is a heavily modified implementation of FFTPack","status":"active","version":"2023-09-25","language":"cpp","source_language":null,"source_url":null,"tags":["fft","signal-processing","math","numerical"],"install":[{"cmd":"vcpkg install pocketfft","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(pocketfft CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE pocketfft::pocketfft)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"pocketfft.h","correct":"#include <pocketfft.h>"}],"quickstart":{"code":"#include \"pocketfft.h\"\n#include <iostream>\n#include <vector>\n\nint main() {\n    std::vector<double> data = {1.0, 0.0, -1.0, 0.0};\n    pocketfft::rfft_forward(data.data(), data.size(), 1.0);\n    std::cout << \"FFT computed\\n\";\n    return 0;\n}","lang":"cpp","description":"Compute a real FFT using PocketFFT"},"warnings":[{"fix":"Always use the provided helper functions and verify array sizes match the transform length.","message":"PocketFFT expects data in a specific layout; incorrect stride or size leads to undefined behavior.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'fft':10 'fftpack':9 'heavili':5 'implement':7 'math':14 'modifi':6 'numer':15 'pocketfft':1 'process':13 'signal':12 'signal-process':11","created_at":"2026-06-17T04:24:18.751765+00:00","updated_at":"2026-06-17T04:24:18.751765+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}