Skip to content

num::pde::laplacian_sparse_2d

Defined in header <pde/diffusion.hpp>

spmat laplacian_sparse_2d(int N);

Construct the 5-point Laplacian as a sparse matrix: \(\Delta_h\).