xerus
a general purpose tensor library
|
Internal representation of a tuple of indexed Tensor s. More...
#include <indexedTensorList.h>
Public Member Functions | |
IndexedTensorList ()=delete | |
No default construction is intended. More... | |
IndexedTensorList (const IndexedTensorList &_old)=delete | |
No copy construction is intended. More... | |
IndexedTensorList (IndexedTensorList &&_old) noexcept | |
Move constructor. More... | |
IndexedTensorList (IndexedTensor< Tensor > &&_first, IndexedTensor< Tensor > &&_second) | |
constructor initializing an IndexedTensorList with two initial Tensor refrences. More... | |
void | operator= (TensorFactorisation &&_factorisation) const |
Generic assignment operator that takes any TensorFactorisation object which is in then invoked to perform the assignment. More... | |
Public Attributes | |
std::vector< IndexedTensor< Tensor > * > | tensors |
Collection of pointers to the Tensor objects referenced by the tuple. More... | |
Internal representation of a tuple of indexed Tensor s.
This class appears inplicitly by using expressiong like (Q(i,r), R(r,j)) and is particulary used for a convinient syntax for Tensor factorisations.
Definition at line 40 of file indexedTensorList.h.
|
delete |
No default construction is intended.
|
delete |
No copy construction is intended.
|
noexcept |
Move constructor.
Definition at line 30 of file indexedTensorList.cpp.
xerus::internal::IndexedTensorList::IndexedTensorList | ( | IndexedTensor< Tensor > && | _first, |
IndexedTensor< Tensor > && | _second | ||
) |
constructor initializing an IndexedTensorList with two initial Tensor refrences.
Definition at line 32 of file indexedTensorList.cpp.
void xerus::internal::IndexedTensorList::operator= | ( | TensorFactorisation && | _factorisation | ) | const |
Generic assignment operator that takes any TensorFactorisation object which is in then invoked to perform the assignment.
Definition at line 37 of file indexedTensorList.cpp.
std::vector<IndexedTensor<Tensor>*> xerus::internal::IndexedTensorList::tensors |
Collection of pointers to the Tensor objects referenced by the tuple.
Definition at line 43 of file indexedTensorList.h.