Skip to content

num::pde::laplacian_sparse_2d

Defined in header <pde/diffusion.hpp>

spmat laplacian_sparse_2d(int N);

Materialize the 5-point discrete Laplacian as an assembled CSR spmat.