Skip to content

num::det

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

template <std::floating_point T>
T det(const lu_result<T> &f);

Compute the determinant from LU factors: \(\det A = \det(P)^{-1} \prod_i u_{ii}\).