in-browser SQL · duckdb-wasm · no server
Fourier projection in L²
A target function is projected onto the orthogonal basis {sin(kx)}. Every number on this page — coefficients, partial sums, errors — is computed by DuckDB running inside this browser tab. The query below re-executes on each change.
Loading DuckDB-Wasm…
L² error ‖f − PKf‖
–
Energy captured (Parseval)
–
Query time
– ms
f, target function
PKf, projection
SQL executed by DuckDB
Learn more about DuckDB-Wasm from the VLDB publication or the recorded talk.