MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
inv.hpp File Reference
#include <cassert>
#include <stdexcept>
#include <string>
#include <vector>
#include <mtl/concepts/matrix.hpp>
#include <mtl/mat/dense2D.hpp>
#include <mtl/vec/dense_vector.hpp>
#include <mtl/operation/lu.hpp>
#include <mtl/math/identity.hpp>

Namespaces

namespace  mtl

Functions

template<typename Accumulator = void, FieldMatrix M>
auto mtl::inv (const M &A)
 Compute the inverse of a square matrix A via LU factorization.