31 template<
class tensor_type>
46 IndexedTensor(tensor_type*
const _tensorObject,
const std::vector<Index>& _indices,
const bool _takeOwnership);
49 IndexedTensor(tensor_type*
const _tensorObject, std::vector<Index>&& _indices,
const bool _takeOwnership);
Internal representation of an readable indexed Tensor or TensorNetwork.
void operator-=(IndexedTensorReadOnly< tensor_type > &&_rhs)
Tensor subtract_assignment with indices.
The main namespace of xerus.
void operator=(IndexedTensorReadOnly< Tensor > &&_rhs)
Assignment operators – Used for tensor assignment WITH indices.
Internal representation of an readable and writeable indexed Tensor or TensorNetwork.
Abstract internal representation of an read and writeable indexed Tensor or TensorNetwork.
IndexedTensor(const IndexedTensor &_other)=delete
There is no usefull copy constructor, because the handling of the tensorObject is unclear...
Header file for the IndexedTensorWritable class.
void operator+=(IndexedTensorReadOnly< tensor_type > &&_rhs)
Tensor add_assignment with indices.