added NRVec::subvector

This commit is contained in:
2022-06-23 19:34:17 +02:00
parent 0d5a893b95
commit 6c22365a48
2 changed files with 67 additions and 0 deletions

6
vec.h
View File

@@ -190,6 +190,12 @@ public:
//! perform deep-copy of given vector
NRVec& operator|=(const NRVec &rhs);
//! extract specified subvector
const NRVec subvector(const int from, const int to) const;
//! store given vector at given position into the current vector
void storesubvector(const int from, const NRVec &rhs);
//! relational operators
const bool operator!=(const NRVec &rhs) const
{