MADNESS
version 0.9
|
#include <gentensor.h>
Public Member Functions | |
GenTensor () | |
GenTensor (const Tensor< T > &t1) | |
GenTensor (const Tensor< T > &t1, const TensorArgs &targs) | |
GenTensor (const Tensor< T > &t1, double eps, const TensorType tt) | |
GenTensor (const TensorType tt) | |
GenTensor (std::vector< long > v, const TensorType &tt) | |
GenTensor (std::vector< long > v, const TensorArgs &targs) | |
GenTensor (const SRConf< T > &sr1) | |
template<class Q > | |
operator GenTensor< Q > () const | |
Type conversion makes a deep copy. More... | |
GenTensor< T > | reconstruct_tensor () const |
GenTensor< T > | full_tensor () const |
GenTensor< T > & | full_tensor () |
GenTensor< T > | full_tensor_copy () const |
GenTensor< T > | full_tensor_copy () |
bool | has_data () const |
bool | has_no_data () const |
long | rank () const |
double | svd_normf () const |
size_t | real_size () const |
void | reduce_rank (const double &eps) |
void | normalize () |
std::string | what_am_i () const |
TensorType | tensor_type () const |
void | add_SVD (const GenTensor< T > &rhs, const double &eps) |
SRConf< T > | config () const |
SRConf< T > | get_configs (const int &start, const int &end) const |
template<typename Q > | |
GenTensor< T > | general_transform (const Tensor< Q > c[]) const |
Static Public Member Functions | |
static double | fac_reduce () |
return the additional safety for rank reduction More... | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References MADNESS_EXCEPTION.
|
inline |
|
inline |
References MADNESS_EXCEPTION.
Referenced by madness::SeparatedConvolution< T, NDIM >::apply2(), madness::SeparatedConvolution< T, NDIM >::apply2_lowdim(), madness::FunctionImpl< Q, NDIM >::do_project_out(), madness::SeparatedConvolution< T, NDIM >::estimate_costs(), madness::FunctionImpl< T, NDIM >::multiply(), madness::FunctionImpl< T, NDIM >::do_check_symmetry_local::operator()(), madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::operator()(), madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::operator()(), and madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::screen().
|
inlinestatic |
return the additional safety for rank reduction
|
inline |
Referenced by madness::FunctionImpl< Q, NDIM >::do_project_out(), madness::FunctionImpl< T, NDIM >::multiply(), madness::FunctionImpl< T, NDIM >::do_unary_op_value_inplace< opT >::operator()(), madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::operator()(), madness::FunctionImpl< T, NDIM >::hartree_op< LDIM, leaf_opT >::operator()(), madness::FunctionImpl< T, NDIM >::recursive_apply_op< opT, LDIM >::operator()(), madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::operator()(), madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::screen(), and madness::FunctionImpl< Q, NDIM >::unary_op_coeff_inplace().
|
inline |
|
inline |
Referenced by madness::FunctionImpl< T, NDIM >::assemble_coefficients(), madness::FunctionImpl< T, NDIM >::autorefine_square_test(), madness::FunctionImpl< T, NDIM >::coeffs_for_jun(), madness::FunctionImpl< Q, NDIM >::do_apply_directed_screening(), madness::FunctionImpl< Q, NDIM >::err_box(), madness::FunctionImpl< T, NDIM >::eval(), madness::FunctionImpl< T, NDIM >::eval_local_only(), madness::FunctionImpl< T, NDIM >::Vphi_op_NS< opT, LDIM >::make_childrens_sum_coeffs(), madness::FunctionImpl< T, NDIM >::do_check_symmetry_local::operator()(), madness::FunctionImpl< T, NDIM >::do_mapdim::operator()(), madness::FunctionImpl< T, NDIM >::parent_to_child_NS(), and madness::FunctionImpl< T, NDIM >::trace_local().
|
inline |
|
inline |
References madness::general_transform().
|
inline |
References MADNESS_EXCEPTION.
Referenced by madness::SeparatedConvolution< T, NDIM >::apply2().
|
inline |
References madness::BaseTensor::size().
Referenced by madness::FunctionNode< T, NDIM >::accumulate(), madness::FunctionImpl< Q, NDIM >::apply_source_driven(), madness::FunctionImpl< T, NDIM >::assemble_coefficients(), madness::FunctionNode< T, NDIM >::consolidate_buffer(), madness::FunctionNode< T, NDIM >::has_coeff(), madness::GenTensor< T >::has_no_data(), madness::FunctionImpl< T, NDIM >::do_truncate_NS_leafs::operator()(), madness::FunctionImpl< T, NDIM >::do_check_symmetry_local::operator()(), madness::FunctionImpl< T, NDIM >::recursive_apply_op2< opT >::operator()(), madness::FunctionImpl< Q, NDIM >::project_out2(), madness::FunctionImpl< T, NDIM >::reconstruct_op(), madness::FunctionNode< T, NDIM >::set_coeff(), madness::FunctionImpl< T, NDIM >::sum_down_spawn(), and madness::FunctionImpl< T, NDIM >::verify_tree().
|
inline |
References madness::GenTensor< T >::has_data().
Referenced by madness::FunctionImpl< Q, NDIM >::do_project_out(), madness::error_leaf_op< T, NDIM >::operator()(), madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::operator()(), madness::FunctionImpl< T, NDIM >::reconstruct_op(), and madness::FunctionImpl< T, NDIM >::trickle_down_op().
|
inline |
|
inline |
Type conversion makes a deep copy.
References madness::BaseTensor::_dim, madness::BaseTensor::_ndim, BINARY_OPTIMIZED_ITERATOR, and std::tr1::T().
|
inline |
Referenced by madness::FunctionNode< T, NDIM >::accumulate(), madness::SeparatedConvolution< T, NDIM >::apply2(), madness::SeparatedConvolution< T, NDIM >::apply2_lowdim(), madness::FunctionImpl< Q, NDIM >::apply_source_driven(), madness::FunctionImpl< Q, NDIM >::do_project_out(), madness::SeparatedConvolution< T, NDIM >::estimate_costs(), madness::FunctionImpl< T, NDIM >::evalR(), madness::has_zero_rank(), madness::FunctionImpl< T, NDIM >::multiply(), madness::LBCost::operator()(), madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::operator()(), madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::operator()(), madness::FunctionImpl< T, NDIM >::print_plane_local(), madness::FunctionImpl< T, NDIM >::print_stats(), and madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::screen().
|
inline |
References madness::BaseTensor::size().
Referenced by madness::FunctionImpl< T, NDIM >::real_size().
|
inline |
|
inline |
Referenced by madness::SeparatedConvolution< T, NDIM >::apply2_lowdim(), madness::FunctionImpl< T, NDIM >::add_op::operator()(), madness::FunctionImpl< T, NDIM >::reconstruct_op(), madness::FunctionNode< T, NDIM >::reduceRank(), madness::FunctionImpl< Q, NDIM >::refine_op(), and madness::FunctionImpl< T, NDIM >::trickle_down_op().
|
inline |
Referenced by madness::FunctionImpl< Q, NDIM >::do_apply_kernel3().
|
inline |
References madness::TT_FULL.
Referenced by madness::SeparatedConvolution< T, NDIM >::apply2(), madness::SeparatedConvolution< T, NDIM >::apply2_lowdim(), madness::FunctionImpl< Q, NDIM >::do_apply_kernel2(), madness::FunctionImpl< Q, NDIM >::do_project_out(), madness::SeparatedConvolution< T, NDIM >::estimate_costs(), madness::has_zero_rank(), madness::FunctionImpl< T, NDIM >::multiply(), madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::operator()(), madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::operator()(), and madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::screen().
|
inline |