MADNESS  0.10.1
Classes | Namespaces | Enumerations | Functions
gentensor.h File Reference
#include <madness/tensor/tensor.h>
#include <madness/tensor/SVDTensor.h>
#include <madness/tensor/tensortrain.h>
Include dependency graph for gentensor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  madness::archive::ArchiveLoadImpl< Archive, GenTensor< T > >
 Deserialize a tensor ... existing tensor is replaced. More...
 
struct  madness::archive::ArchiveStoreImpl< Archive, GenTensor< T > >
 Serialize a tensor. More...
 
class  madness::GenTensor< T >
 
struct  madness::TensorArgs
 TensorArgs holds the arguments for creating a LowRankTensor. More...
 

Namespaces

 madness
 File holds all helper structures necessary for the CC_Operator and CC2 class.
 
 madness::archive
 Namespace for I/O tools.
 

Enumerations

enum  madness::TensorType { madness::TT_FULL , madness::TT_2D , madness::TT_TENSORTRAIN }
 low rank representations of tensors (see gentensor.h) More...
 

Functions

template<typename T >
void madness::change_tensor_type (GenTensor< T > &t, const TensorArgs &targs)
 change representation to targ.tt More...
 
template<typename R , typename Q >
GenTensor< TENSOR_RESULT_TYPE(R, Q)> madness::general_transform (const GenTensor< R > &t, const Tensor< Q > c[])
 
static std::ostream & madness::operator<< (std::ostream &s, const TensorType &tt)
 
template<class T >
GenTensor< Tmadness::outer (const GenTensor< T > &left, const GenTensor< T > &right, const TensorArgs final_tensor_args)
 Outer product ... result(i,j,...,p,q,...) = left(i,k,...)*right(p,q,...) More...
 
template<class T >
GenTensor< Tmadness::outer (const Tensor< T > &left, const Tensor< T > &right, const TensorArgs final_tensor_args)
 Outer product ... result(i,j,...,p,q,...) = left(i,k,...)*right(p,q,...) More...
 
template<class T >
GenTensor< Tmadness::reduce (std::list< GenTensor< T > > &addends, double eps, bool are_optimal=false)
 add all the GenTensors of a given list More...