diff options
Diffstat (limited to 'include/matrix.hpp')
| -rw-r--r-- | include/matrix.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/matrix.hpp b/include/matrix.hpp index ba3e4ae..d78f814 100644 --- a/include/matrix.hpp +++ b/include/matrix.hpp @@ -3,6 +3,7 @@ #include <cstddef> #include <initializer_list> #include <vector> +#include "vector.hpp" namespace linalg { @@ -37,5 +38,11 @@ private: std::vector<double> data_; }; +Matrix transpose(const Matrix& matrix); +Matrix operator+(const Matrix& lhs, const Matrix& rhs); +Matrix operator-(const Matrix& lhs, const Matrix& rhs); +Vector operator*(const Matrix& matrix, const Vector& vector); +Matrix operator*(const Matrix& lhs, const Matrix& rhs); + } // namespace linalg |