//! Small matrix helpers shared by more than one test file in this suite.
use Matrix;
/// Builds a symmetric positive-definite matrix from arbitrary entries as `M·Mᵀ`, ridged so the
/// factorization is well conditioned rather than merely non-singular.
/// Sums the diagonal entries of a square matrix.