MADNESS 0.10.1
gentensor.h File Reference
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

namespace  madness
 Namespace for all elements and tools of MADNESS.
namespace  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 > &, const TensorArgs &targs)
 change representation to targ.tt
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< T > madness::outer (const GenTensor< T > &left, const GenTensor< T > &right, const TensorArgs)
 Outer product ... result(i,j,...,p,q,...) = left(i,k,...)*right(p,q,...).
template<class T>
GenTensor< T > madness::outer (const Tensor< T > &left, const Tensor< T > &right, const TensorArgs)
 Outer product ... result(i,j,...,p,q,...) = left(i,k,...)*right(p,q,...).
template<class T>
GenTensor< T > madness::reduce (std::list< GenTensor< T > > &addends, double eps, bool are_optimal=false)
 add all the GenTensors of a given list