sum of all matrix elements
This commit is contained in:
2
mat.h
2
mat.h
@@ -257,6 +257,8 @@ public:
|
||||
const NRVec<T> rsum() const;
|
||||
//! sum numbers in the columns (sum over row index)
|
||||
const NRVec<T> csum() const;
|
||||
//! sum all matrix elements
|
||||
const T sum() const;
|
||||
|
||||
//! orthonormalize this matrix
|
||||
void orthonormalize(const bool rowcol, const NRSMat<T> *metric = NULL);
|
||||
|
||||
Reference in New Issue
Block a user