|
MADNESS 0.10.1
|
returns true if the sum of hartree products is a leaf node (compute combined norm & error) More...
#include <funcimpl.h>
Public Types | |
| typedef FunctionImpl< T, NDIM > | implT |
Public Member Functions | |
| hartree_leaf_op_vec ()=default | |
| hartree_leaf_op_vec (const implT *f, const long &k) | |
| bool | do_error_leaf_op () const |
| bool | operator() (const Key< NDIM > &key) const |
| no pre-determination | |
| bool | operator() (const Key< NDIM > &key, const std::vector< Tensor< T > > &fcoeffs, const std::vector< Tensor< T > > &gcoeffs) const |
| post-determination for vector of pairs: true if well-represented | |
| template<typename Archive> | |
| void | serialize (Archive &ar) |
Public Attributes | |
| const FunctionImpl< T, NDIM > * | f |
| long | k |
returns true if the sum of hartree products is a leaf node (compute combined norm & error)
Generalizes hartree_leaf_op for a sum of matched pairs: Σ_i f_i(1) * g_i(2) Uses the triangle inequality bound over all pairs to determine leafness.
| typedef FunctionImpl<T,NDIM> madness::hartree_leaf_op_vec< T, NDIM >::implT |
|
default |
|
inline |
|
inline |
|
inline |
no pre-determination
|
inline |
post-determination for vector of pairs: true if well-represented
| [in] | key | the hi-dimensional key |
| [in] | fcoeffs | vector of coefficients of f_i in NS form |
| [in] | gcoeffs | vector of coefficients of g_i in NS form |
References std::abs(), f, madness::FunctionDefaults< NDIM >::thresh, k, madness::Key< NDIM >::level(), MADNESS_ASSERT, NDIM, and s0.
|
inline |
| const FunctionImpl<T,NDIM>* madness::hartree_leaf_op_vec< T, NDIM >::f |
Referenced by hartree_leaf_op_vec(), operator()(), and serialize().
| long madness::hartree_leaf_op_vec< T, NDIM >::k |
Referenced by hartree_leaf_op_vec(), operator()(), and serialize().