MADNESS
0.10.1
|
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 () |
#define ENABLE_GENTENSOR |
double compute_difference | ( | const GenTensor< T > & | lrt1, |
const GenTensor< T > & | lrt2 | ||
) |
References madness::GenTensor< T >::full_tensor_copy().
Referenced by test_addition(), test_convert(), test_emul(), test_reconstruct(), test_reduce_rank(), and test_sliced_addition().
double compute_difference | ( | const GenTensor< T > & | lrt1, |
const Tensor< T > & | t2 | ||
) |
References madness::GenTensor< T >::full_tensor_copy().
double compute_difference | ( | const Tensor< T > & | t2, |
const GenTensor< T > & | lrt1 | ||
) |
References madness::GenTensor< T >::full_tensor_copy().
int main | ( | int | argc, |
char * | argv[] | ||
) |
std::vector<long> make_dimensions | ( | bool | even = false | ) |
References d(), madness::print(), and madness::RandomValue< long >().
Referenced by test_addition(), test_constructor(), test_emul(), test_reconstruct(), and test_reduce_rank().
int test_addition | ( | const TensorType & | tt | ) |
int test_constructor | ( | ) |
int test_convert | ( | ) |
int test_emul | ( | const TensorType & | tt | ) |
int test_general_transform | ( | ) |
int test_reconstruct | ( | ) |
int test_reduce_rank | ( | const TensorType & | tt | ) |
int test_sliced_addition | ( | const TensorType & | tt | ) |
int test_sliced_assignment | ( | const TensorType & | tt | ) |
References madness::_(), madness::error(), madness::Tensor< T >::fillrandom(), madness::print(), and s0.
int test_stuff | ( | ) |
References madness::RandomizedMatrixDecomposition< T >::check_range(), madness::RandomizedMatrixDecomposition< T >::compute_range(), madness::SVDTensor< T >::compute_svd_from_range(), madness::error(), madness::RandomizedMatrixDecomposition< T >::exceeds_maxrank(), madness::RandomizedMatrixDecomposition< T >::get_range(), k, madness::RandomizedMatrixDecomposition< T >::make_SVD_decaying_matrix(), madness::SRConf< T >::max_sigma(), madness::RMDFactory::oversampling(), pow(), madness::print(), Q(), madness::SVDTensor< T >::rank(), madness::TensorTrain< T >::ranks(), madness::SRConf< T >::reconstruct(), madness::TensorTrain< T >::reconstruct(), madness::svd(), T(), thresh, and madness::wall_time().