ALPSCore reference
|
#include <joined.hpp>
Public Types | |
typedef bind< Strategy, T >::value_type | value_type |
typedef bind< Strategy, T >::var_type | var_type |
Public Member Functions | |
var_result () | |
var_result (const var_data< T, Strategy > &acc_data) | |
var_result (const var_result &other) | |
var_result & | operator= (const var_result &other) |
bool | valid () const |
size_t | size () const |
double | batch_size () const |
size_t | count () const |
double | count2 () const |
double | observations () const |
const column< T > & | mean () const |
column< var_type > | var () const |
column< var_type > | stderror () const |
const var_data< T, Strategy > & | store () const |
var_data< T, Strategy > & | store () |
void | reduce (const reducer &r) |
Protected Member Functions | |
void | reduce (const reducer &, bool do_pre_commit, bool do_post_commit) |
Friends | |
class | var_acc< T, Strategy > |
class | autocorr_result< T > |
void | serialize (serializer &, const std::string &, const var_result &) |
void | deserialize (deserializer &, const std::string &, var_result &) |
std::ostream & | operator<< (std::ostream &, const var_result &) |
Result which contains mean and a naive variance estimate.
Definition at line 14 of file joined.hpp.
typedef bind<Strategy, T>::value_type alps::alea::var_result< T, Strategy >::value_type |
Definition at line 206 of file variance.hpp.
typedef bind<Strategy, T>::var_type alps::alea::var_result< T, Strategy >::var_type |
Definition at line 207 of file variance.hpp.
|
inline |
Definition at line 210 of file variance.hpp.
|
inline |
Definition at line 212 of file variance.hpp.
alps::alea::var_result< T, Str >::var_result | ( | const var_result< T, Strategy > & | other | ) |
Definition at line 213 of file variance.cpp.
|
inline |
Returns average batch size
Definition at line 227 of file variance.hpp.
|
inline |
Returns sample size, i.e., number of accumulated data points
Definition at line 230 of file variance.hpp.
|
inline |
Returns sum of squared sample sizes
Definition at line 233 of file variance.hpp.
|
inline |
Returns sample mean
Definition at line 239 of file variance.hpp.
|
inline |
Returns effective number of observations
Definition at line 236 of file variance.hpp.
var_result< T, Str > & alps::alea::var_result< T, Str >::operator= | ( | const var_result< T, Strategy > & | other | ) |
Definition at line 218 of file variance.cpp.
|
inline |
Collect measurements from different instances using sum-reducer
Definition at line 258 of file variance.hpp.
|
protected |
Definition at line 250 of file variance.cpp.
|
inline |
Number of components of the random vector (e.g., size of mean)
Definition at line 224 of file variance.hpp.
column< typename var_result< T, Str >::var_type > alps::alea::var_result< T, Str >::stderror | ( | ) | const |
Returns bias-corrected standard error of the mean
Definition at line 243 of file variance.cpp.
|
inline |
Return backend object used for storing estimands
Definition at line 252 of file variance.hpp.
|
inline |
Return backend object used for storing estimands
Definition at line 255 of file variance.hpp.
|
inline |
Returns false
if finalize()
has been called, true
otherwise
Definition at line 221 of file variance.hpp.
|
inline |
Returns bias-corrected sample variance
Definition at line 246 of file variance.hpp.
|
friend |
Definition at line 276 of file variance.hpp.
|
friend |
Convert result from a permanent format (write to disk etc.)
|
friend |
Write some info about the result to a stream
|
friend |
Convert result to a permanent format (write to disk etc.)
|
friend |
Definition at line 275 of file variance.hpp.