xerus
a general purpose tensor library
xerus::internal::IndexedTensorList Class Reference

Internal representation of a tuple of indexed Tensor s. More...

#include <indexedTensorList.h>

Collaboration diagram for xerus::internal::IndexedTensorList:

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ IndexedTensorList() [1/4]

xerus::internal::IndexedTensorList::IndexedTensorList ( )
delete

No default construction is intended.

◆ IndexedTensorList() [2/4]

xerus::internal::IndexedTensorList::IndexedTensorList ( const IndexedTensorList _old)
delete

No copy construction is intended.

◆ IndexedTensorList() [3/4]

xerus::internal::IndexedTensorList::IndexedTensorList ( IndexedTensorList &&  _old)
noexcept

Move constructor.

Definition at line 30 of file indexedTensorList.cpp.

◆ IndexedTensorList() [4/4]

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.

Member Function Documentation

◆ operator=()

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.

Member Data Documentation

◆ tensors

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.


The documentation for this class was generated from the following files: