Skip to content

num::operators::to_sparse_matrix

Defined in header <pde/grid_operators.hpp>

template <sparse_convertible Op>
spmat to_sparse_matrix(const Op &op);

Generic free function to extract spmat from any sparse_convertible operator.