tensor: contractions over severeal indices implemented

This commit is contained in:
2024-05-16 18:23:30 +02:00
parent 883d201e67
commit 0b91e88dca
4 changed files with 239 additions and 7 deletions

1
vec.cc
View File

@@ -909,6 +909,7 @@ void NRVec<T>::storesubvector(const NRVec<int> &selection, const NRVec &rhs)
******************************************************************************/
template<typename T>
NRVec<T>& NRVec<T>::conjugateme() {
copyonwrite();
#ifdef CUDALA
if(location != cpu) laerror("general conjugation only on CPU");
#endif