diff options
| author | y-jan137 <yousefjan24000@gmail.com> | 2026-04-27 07:24:41 +0300 |
|---|---|---|
| committer | y-jan137 <yousefjan24000@gmail.com> | 2026-04-27 07:24:41 +0300 |
| commit | 4602b36e9d5ea08656e3222846a1f161bbb1cec1 (patch) | |
| tree | 87618f154f7ebe91657ba1501d695d45a31e7881 /include/lu.hpp | |
| parent | b8bc28c70a6f2b0e7de81e85a796303d514df008 (diff) | |
Module refactor
Diffstat (limited to 'include/lu.hpp')
| -rw-r--r-- | include/lu.hpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/lu.hpp b/include/lu.hpp deleted file mode 100644 index e7fe939..0000000 --- a/include/lu.hpp +++ /dev/null @@ -1,22 +0,0 @@ -#pragma once - -#include <cstddef> -#include <vector> - -#include "matrix.hpp" -#include "vector.hpp" - -namespace linalg { - -struct LUResult { - Matrix L; - Matrix U; - std::vector<std::size_t> perm; - int sign; -}; - -LUResult lu_factor(const Matrix& A, double singular_tolerance = 1e-12); - -Vector lu_solve(const LUResult& lu, const Vector& b); - -} // namespace linalg |