bugfix in NRMat:: rsum() and csum()

This commit is contained in:
2024-02-08 15:01:06 +01:00
parent 684c1cde5d
commit 7172e26a50
3 changed files with 31 additions and 27 deletions

4
mat.h
View File

@@ -253,9 +253,9 @@ public:
//! for this matrix \f$A\f$ compute \f$A\cdot{}A^\mathrm{T}\f$
const NRSMat<T> timestransposed() const;
//! sum the rows
//! sum numbers in the rows (sum over column index)
const NRVec<T> rsum() const;
//! sum the columns
//! sum numbers in the columns (sum over row index)
const NRVec<T> csum() const;
//! orthonormalize this matrix