Skip to content

num::lapack::lu

Defined in header <linear/banded/banded.hpp>, <linear/factorization/lu.hpp>

banded_lu_result lu(band_mat A);  // (1)

lu_result<real> lu(const mat<real> &A);  // (2)

(1) Factor a band matrix by LU through LAPACK dgbtrf: \(P A = L U\).

(2) The num::lapack version of num::lu.