xerus
a general purpose tensor library
ttNetwork.h File Reference

Header file for the TTNetwork class (and thus TTTensor and TTOperator). More...

#include "misc/containerSupport.h"
#include "misc/check.h"
#include "index.h"
#include "indexedTensor_tensor_factorisations.h"
#include "tensor.h"
#include "tensorNetwork.h"
#include "indexedTensor.h"
#include "indexedTensorMoveable.h"
#include "indexedTensorList.h"

Go to the source code of this file.

Classes

class  xerus::TTNetwork< isOperator >
 Specialized TensorNetwork class used to represent TTTensor and TToperators. More...
 

Namespaces

 xerus
 The main namespace of xerus.
 
 xerus::misc
 Collection of classes and functions that provide elementary functionality that is not special to xerus as a tensor library.
 

Functions

template<bool isOperator>
TTNetwork< isOperator > xerus::dyadic_product (const TTNetwork< isOperator > &_lhs, const TTNetwork< isOperator > &_rhs)
 Computes the dyadic product of _lhs and _rhs. More...
 
template<bool isOperator>
TTNetwork< isOperator > xerus::dyadic_product (const std::vector< TTNetwork< isOperator >> &_tensors)
 Computes the dyadic product of all given TTNetworks. More...
 
template<bool isOperator>
TTNetwork< isOperator > xerus::entrywise_product (const TTNetwork< isOperator > &_A, const TTNetwork< isOperator > &_B)
 Calculates the componentwise product of two tensors given in the TT format. More...
 
template<bool isOperator>
TTNetwork< isOperator > xerus::operator* (TTNetwork< isOperator > _network, const value_t _factor)
 Calculates the entrywise multiplication of the given TTNetwork _network with a constant _factor. More...
 
template<bool isOperator>
TTNetwork< isOperator > xerus::operator* (const value_t _factor, TTNetwork< isOperator > _network)
 Calculates the entrywise multiplication of the given TTNetwork _network with a constant _factor. More...
 
template<bool isOperator>
TTNetwork< isOperator > xerus::operator+ (TTNetwork< isOperator > _lhs, const TTNetwork< isOperator > &_rhs)
 Calculates the entrywise sum of the given TTNetworks _lhs and _rhs. More...
 
template<bool isOperator>
TTNetwork< isOperator > xerus::operator- (TTNetwork< isOperator > _lhs, const TTNetwork< isOperator > &_rhs)
 Calculates the entrywise difference of the given TTNetworks _lhs and _rhs. More...
 
template<bool isOperator>
TTNetwork< isOperator > xerus::operator/ (TTNetwork< isOperator > _network, const value_t _divisor)
 Calculates the entrywise divison of this TTNetwork by a constant _divisor. More...
 
template<bool isOperator>
void xerus::misc::stream_reader (std::istream &_stream, TTNetwork< isOperator > &_obj, const misc::FileFormat _format)
 Restores the TTNetwork from a stream of data. More...
 
template<bool isOperator>
void xerus::misc::stream_writer (std::ostream &_stream, const TTNetwork< isOperator > &_obj, misc::FileFormat _format)
 Pipes all information necessary to restore the current TensorNetwork into _stream. More...
 

Detailed Description

Header file for the TTNetwork class (and thus TTTensor and TTOperator).

Definition in file ttNetwork.h.