ALPSCore reference
Public Member Functions | List of all members
alps::alea::batch_data< T > Class Template Reference

#include <batch.hpp>

Inheritance diagram for alps::alea::batch_data< T >:
Inheritance graph
Collaboration diagram for alps::alea::batch_data< T >:
Collaboration graph

Public Member Functions

 batch_data (size_t size, size_t num_batches=256)
 
void reset ()
 
size_t num_batches () const
 
size_t size () const
 
eigen< T >::matrix & batch ()
 
const eigen< T >::matrix & batch () const
 
eigen< size_t >::row & count ()
 
const eigen< size_t >::row & count () const
 

Detailed Description

template<typename T>
class alps::alea::batch_data< T >

Representation of a time series in (compact) batches.

Definition at line 20 of file batch.hpp.

Constructor & Destructor Documentation

template<typename T >
alps::alea::batch_data< T >::batch_data ( size_t  size,
size_t  num_batches = 256 
)

Definition at line 19 of file batch.cpp.

Member Function Documentation

template<typename T>
eigen<T>::matrix& alps::alea::batch_data< T >::batch ( )
inline

Definition at line 54 of file batch.hpp.

template<typename T>
const eigen<T>::matrix& alps::alea::batch_data< T >::batch ( ) const
inline

Definition at line 56 of file batch.hpp.

template<typename T>
eigen<size_t>::row& alps::alea::batch_data< T >::count ( )
inline

Returns sample size (number of accumulated points) for each batch

Definition at line 59 of file batch.hpp.

template<typename T>
const eigen<size_t>::row& alps::alea::batch_data< T >::count ( ) const
inline

Returns sample size (number of accumulated points) for each batch

Definition at line 62 of file batch.hpp.

template<typename T>
size_t alps::alea::batch_data< T >::num_batches ( ) const
inline

Definition at line 49 of file batch.hpp.

template<typename T >
void alps::alea::batch_data< T >::reset ( )

Re-allocate and thus clear all accumulated data

Definition at line 27 of file batch.cpp.

template<typename T>
size_t alps::alea::batch_data< T >::size ( ) const
inline

Number of components of the random vector (e.g., size of mean)

Definition at line 52 of file batch.hpp.


The documentation for this class was generated from the following files: