continueing on permutations

This commit is contained in:
2021-05-19 22:29:47 +02:00
parent 83b9463334
commit 78c94f1e17
9 changed files with 558 additions and 31 deletions

2
smat.h
View File

@@ -93,7 +93,7 @@ public:
NRSMat & operator=(const T &a);
//! permute matrix elements
const NRSMat permute(const NRPerm<int> &p) const;
const NRSMat permuted(const NRPerm<int> &p, const bool inverse=false) const;
inline int getcount() const {return count?*count:0;}