MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
poisson.hpp File Reference
#include <cstddef>
#include <mtl/mat/compressed2D.hpp>
#include <mtl/mat/inserter.hpp>

Namespaces

namespace  mtl
namespace  mtl::generators

Functions

template<typename T = double>
auto mtl::generators::poisson2d_dirichlet (std::size_t nx, std::size_t ny)
 2D Poisson with Dirichlet BCs: (nx*ny) x (nx*ny) 5-point stencil.