MADNESS 0.10.1
test_lowranktensor.cc File Reference
Include dependency graph for test_lowranktensor.cc:

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 ()

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()

◆ make_dimensions()

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

◆ test_addition()

◆ test_constructor()

◆ test_convert()

◆ test_emul()

◆ test_general_transform()

◆ test_reconstruct()

◆ test_reduce_rank()

◆ 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()