git-svn-id: svn://db.shs.com.ru/pip@763 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2019-02-27 08:12:54 +00:00
parent 7921dd9d34
commit b6ee08194c
3 changed files with 39 additions and 24 deletions

View File

@@ -202,6 +202,11 @@ public:
return *this;
}
inline void clear() {
rows_ = cols_ = 0;
mat.clear();
}
protected:
size_t rows_, cols_;
PIVector<T> mat;