num::laplacian_stencil_2d¶ Defined in header <pde/stencil.hpp> template <typename T> void laplacian_stencil_2d(const vec<T> &x, vec<T> &y, int N); Apply the 5-point Laplacian, zero boundary values: \(y \leftarrow h^2 \Delta_h x\).