Skip to content

num::characteristic_matrix

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

spmat characteristic_matrix(const spmat &A, real s);

Construct \(sI - A\) on the sparsity pattern of A plus the diagonal.