Skip to content

num::linear::is_spd

Defined in header <linear/factorization/cholesky.hpp>

bool is_spd(const mat<real> &A, real tol = 1e-12);

Test whether a matrix is symmetric within tol and has a Cholesky factorization.