tensor: permutation of indices inside a symmetry group

This commit is contained in:
2025-11-18 18:09:04 +01:00
parent 20a61e2fb9
commit 78569ca701
6 changed files with 159 additions and 3 deletions

3
vec.h
View File

@@ -303,6 +303,9 @@ public:
NRVec& conjugateme();
inline NRVec conjugate() const {NRVec r(*this); r.conjugateme(); return r;};
NRVec& negateconjugateme();
NRVec& negateme();
//! determine the actual value of the reference counter
inline int getcount() const {return count?*count:0;}