MADNESS 0.10.1
Macros | Functions
test_lowranktensor.cc File Reference
#include <madness/tensor/gentensor.h>
#include <madness/tensor/RandomizedMatrixDecomposition.h>
Include dependency graph for test_lowranktensor.cc:

Macros

#define ENABLE_GENTENSOR
 

Functions

template<typename T >
double compute_difference (const GenTensor< T > &lrt1, const GenTensor< T > &lrt2)
 
template<typename T >
double compute_difference (const GenTensor< T > &lrt1, const Tensor< T > &t2)
 
template<typename T >
double compute_difference (const Tensor< T > &t2, const GenTensor< T > &lrt1)
 
int main (int argc, char *argv[])
 
std::vector< long > make_dimensions (bool even=false)
 
template<typename T >
int test_addition (const TensorType &tt)
 
template<typename T >
int test_constructor ()
 
template<typename T >
int test_convert ()
 
template<typename T >
int test_emul (const TensorType &tt)
 
template<typename T >
int test_general_transform ()
 
template<typename T >
int test_reconstruct ()
 
template<typename T >
int test_reduce_rank (const TensorType &tt)
 
template<typename T >
int test_sliced_addition (const TensorType &tt)
 
template<typename T >
int test_sliced_assignment (const TensorType &tt)
 
template<typename T >
int test_stuff ()
 

Macro Definition Documentation

◆ ENABLE_GENTENSOR

#define ENABLE_GENTENSOR

Function Documentation

◆ compute_difference() [1/3]

template<typename T >
double compute_difference ( const GenTensor< T > &  lrt1,
const GenTensor< T > &  lrt2 
)

◆ compute_difference() [2/3]

template<typename T >
double compute_difference ( const GenTensor< T > &  lrt1,
const Tensor< T > &  t2 
)

◆ compute_difference() [3/3]

template<typename T >
double compute_difference ( const Tensor< T > &  t2,
const GenTensor< T > &  lrt1 
)

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ make_dimensions()

std::vector< long > make_dimensions ( bool  even = false)

◆ test_addition()

template<typename T >
int test_addition ( const TensorType tt)

◆ test_constructor()

template<typename T >
int test_constructor ( )

◆ test_convert()

template<typename T >
int test_convert ( )

◆ test_emul()

template<typename T >
int test_emul ( const TensorType tt)

◆ test_general_transform()

template<typename T >
int test_general_transform ( )

◆ test_reconstruct()

template<typename T >
int test_reconstruct ( )

◆ test_reduce_rank()

template<typename T >
int test_reduce_rank ( const TensorType tt)

◆ test_sliced_addition()

template<typename T >
int test_sliced_addition ( const TensorType tt)

◆ test_sliced_assignment()

template<typename T >
int test_sliced_assignment ( const TensorType tt)

◆ test_stuff()

template<typename T >
int test_stuff ( )