Function uw12::utils::lower

Function Documentation

inline auto uw12::utils::lower(const linalg::Mat &mat, const double factor = 1)

Compress symmetric matrix into vector of lower triangular elements

Store n * n symmetric matrix as a vector of lower triangular elements of size n * (n+1) /2. Inverse of square.

Parameters
  • mat

  • factor

Returns