Skip to content

num::inverse

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

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

Compute the inverse from LU factors: \(A^{-1}\). Uses LAPACK when an optimized LAPACK is available.