MADNESS  0.10.1
Classes | Namespaces | Functions
lowranktensor.h File Reference
#include <memory>
#include <vector>
#include <variant>
#include <madness/world/madness_exception.h>
#include <madness/world/print.h>
#include <madness/tensor/slice.h>
#include <madness/tensor/SVDTensor.h>
#include <madness/tensor/tensor.h>
#include <madness/tensor/tensortrain.h>
#include "type_data.h"
#include <madness/tensor/RandomizedMatrixDecomposition.h>
Include dependency graph for lowranktensor.h:

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 >
 
class  madness::SliceLowRankTensor< T >
 implements a temporary(!) slice of 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.
 

Functions

template<typename T >
void madness::change_tensor_type (GenTensor< T > &t, const TensorArgs &targs)
 change representation to targ.tt More...
 
template<class Q , class T >
GenTensor< Qmadness::convert (const GenTensor< T > &other)
 type conversion implies a deep copy More...
 
template<typename R , typename Q >
GenTensor< TENSOR_RESULT_TYPE(R, Q)> madness::general_transform (const GenTensor< R > &t, const Tensor< Q > c[])
 
template<typename Q , typename R >
bool madness::is_same_tensor_type (const GenTensor< R > &rhs, const GenTensor< Q > &lhs)
 
template<typename T , typename Q >
IsSupported< TensorTypeData< Q >, GenTensor< T > >::type madness::operator* (const Q &x, const GenTensor< T > &t)
 The class defines tensor op scalar ... here define scalar op tensor. More...
 
template<class T , class Q >
GenTensor< TENSOR_RESULT_TYPE(T, Q)> madness::outer (const GenTensor< T > &t1, const GenTensor< Q > &t2, const TensorArgs final_tensor_args=TensorArgs(-1.0, TT_2D))
 outer product of two Tensors, yielding a low rank tensor More...
 
template<class T , class Q >
GenTensor< TENSOR_RESULT_TYPE(T, Q)> madness::outer (const Tensor< T > &lhs2, const Tensor< Q > &rhs2, const TensorArgs final_tensor_args)
 outer product of two Tensors, yielding a low rank tensor 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...
 
template<typename R , typename Q >
GenTensor< TENSOR_RESULT_TYPE(R, Q)> madness::transform (const GenTensor< R > &t, const Tensor< Q > &c)
 
template<typename R , typename Q >
GenTensor< TENSOR_RESULT_TYPE(R, Q)> madness::transform_dir (const GenTensor< R > &t, const Tensor< Q > &c, const int axis)