48 _first.
tensors.emplace_back(&_second);
49 return std::move(_first);
IndexedTensorList operator,(IndexedTensor< Tensor > &&_first, IndexedTensor< Tensor > &&_second)
Using the "," operator tuples of writeable indexed tensor can be created.
Header file defining lists of indexed tensors.
Header file for the classes defining factorisations of Tensors.
The main namespace of xerus.
std::vector< IndexedTensor< Tensor > * > tensors
Collection of pointers to the Tensor objects referenced by the tuple.
IndexedTensorList()=delete
No default construction is intended.
Internal representation of an readable and writeable indexed Tensor or TensorNetwork.
Internal representation of a tuple of indexed Tensor s.
Abstract super class for all tensor factorisations.
void operator=(TensorFactorisation &&_factorisation) const
Generic assignment operator that takes any TensorFactorisation object which is in then invoked to per...