aboutsummaryrefslogtreecommitdiff
path: root/include/vector.hpp
diff options
context:
space:
mode:
authory-jan137 <yousefjan24000@gmail.com>2026-03-12 16:40:43 +0300
committery-jan137 <yousefjan24000@gmail.com>2026-03-12 16:40:43 +0300
commit38004f74df5b2dbcb07e6ad5ac2272f16882e018 (patch)
tree119c13cab68e3f38c77a737a7f15a3dad74c1343 /include/vector.hpp
parent11568ad166dc9312593fa4caf05aaa4a11f21b17 (diff)
Add basic ops
Diffstat (limited to 'include/vector.hpp')
-rw-r--r--include/vector.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vector.hpp b/include/vector.hpp
index e6bc0ce..3e797d8 100644
--- a/include/vector.hpp
+++ b/include/vector.hpp
@@ -41,6 +41,7 @@ Vector operator+(const Vector& lhs, const Vector& rhs);
Vector operator-(const Vector& lhs, const Vector& rhs);
Vector operator*(const Vector& v, double scalar);
Vector operator*(double scalar, const Vector& v);
+Vector operator/(const Vector& v, double scalar);
double dot(const Vector& lhs, const Vector& rhs);
} // namespace linalg