diff --git a/vector.cpp b/vector.cpp index 163152a..03d86f5 100644 --- a/vector.cpp +++ b/vector.cpp @@ -42,5 +42,9 @@ void swap(vector &first, vector &second) { swap(first.data, second.data); } +vector sub(const vector &first, const vector &second){ + return first.data-second.data; +} + }// namespace ismk