NRMat::row() generalized - backward compatibly

This commit is contained in:
2026-01-29 14:05:05 +01:00
parent 0ab331d047
commit febb19d15f
2 changed files with 12 additions and 10 deletions

4
mat.h
View File

@@ -264,10 +264,10 @@ public:
void orthonormalize(const bool rowcol, const NRSMat<T> *metric = NULL);
//! get the i<sup>th</sup> row
const NRVec<T> row(const int i, int l = -1) const;
const NRVec<T> row(const int i, int len = -1, int offset=0) const;
//! set the i<sup>th</sup> row
void rowset(const NRVec<T> &r, const int i, int l = -1);
void rowset(const NRVec<T> &r, const int i, int len = -1, int offset=0);
//! get the j<sup>th</sup> column
const NRVec<T> column(const int j, int l = -1) const {