Skip to content

num::with_explicit_diagonal

Defined in header <linear/sparse/sparse.hpp>

spmat with_explicit_diagonal(const spmat &A);

Return A with every diagonal entry stored, adding zeros where absent.