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/linalg_error.hpp | |
| parent | b8bc28c70a6f2b0e7de81e85a796303d514df008 (diff) | |
Module refactor
Diffstat (limited to 'include/linalg_error.hpp')
| -rw-r--r-- | include/linalg_error.hpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/include/linalg_error.hpp b/include/linalg_error.hpp deleted file mode 100644 index ac9b456..0000000 --- a/include/linalg_error.hpp +++ /dev/null @@ -1,31 +0,0 @@ -#pragma once - -#include <stdexcept> -#include <string> - -namespace linalg { - -class LinAlgError : public std::runtime_error { -public: - using std::runtime_error::runtime_error; -}; - -class DimensionMismatchError : public LinAlgError { -public: - explicit DimensionMismatchError(const std::string& message) - : LinAlgError(message) {} -}; - -class SingularMatrixError : public LinAlgError { -public: - explicit SingularMatrixError(const std::string& message) - : LinAlgError(message) {} -}; - -class NonConvergenceError : public LinAlgError { -public: - explicit NonConvergenceError(const std::string& message) - : LinAlgError(message) {} -}; - -} // namespace linalg |