ALPSCore reference
|
#include <computed.hpp>
Public Types | |
typedef T | value_type |
Public Types inherited from alps::alea::computed< T > | |
typedef T | value_type |
Public Member Functions | |
value_adapter (T in) | |
size_t | size () const |
void | add_to (view< T > out) const |
~value_adapter () | |
Public Member Functions inherited from alps::alea::computed< T > | |
virtual std::vector< size_t > | shape () const |
virtual computed * | clone () |
virtual | ~computed () |
Definition at line 23 of file computed.hpp.
typedef T alps::alea::value_adapter< T >::value_type |
Definition at line 56 of file computed.hpp.
|
inline |
Definition at line 59 of file computed.hpp.
|
inline |
Definition at line 70 of file computed.hpp.
|
inlinevirtual |
Add computed result data to the buffer in out
. If in(i)
is the i
-th component of the estimator, do the equivalent of:
for (size_t i = 0; i != size(); ++i) out[i] += in(i);
Implements alps::alea::computed< T >.
Definition at line 63 of file computed.hpp.
|
inlinevirtual |
Number of elements of the computed result
Implements alps::alea::computed< T >.
Definition at line 61 of file computed.hpp.