Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Member Functions | List of all members
toolbox::util::VarAccum Class Reference

#include <toolbox/util/Math.hpp>

Public Member Functions

constexpr VarAccum () noexcept=default
 
 ~VarAccum ()=default
 
constexpr VarAccum (const VarAccum &) noexcept=default
 
VarAccumoperator= (const VarAccum &) noexcept=default
 
constexpr VarAccum (VarAccum &&) noexcept=default
 
VarAccumoperator= (VarAccum &&) noexcept=default
 
bool empty () const noexcept
 
std::size_t size () const noexcept
 
double mean () const noexcept
 
double sum2 () const noexcept
 
double min () const noexcept
 
double max () const noexcept
 
void clear () noexcept
 
void append (double val) noexcept
 
template<typename... ArgsT>
void append (double first, ArgsT... args) noexcept
 

Detailed Description

Definition at line 53 of file Math.hpp.

Constructor & Destructor Documentation

◆ VarAccum() [1/3]

constexpr toolbox::util::VarAccum::VarAccum ( )
constexprdefaultnoexcept

◆ ~VarAccum()

toolbox::util::VarAccum::~VarAccum ( )
default

◆ VarAccum() [2/3]

constexpr toolbox::util::VarAccum::VarAccum ( const VarAccum )
constexprdefaultnoexcept

◆ VarAccum() [3/3]

constexpr toolbox::util::VarAccum::VarAccum ( VarAccum &&  )
constexprdefaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

VarAccum & toolbox::util::VarAccum::operator= ( const VarAccum )
defaultnoexcept

◆ operator=() [2/2]

VarAccum & toolbox::util::VarAccum::operator= ( VarAccum &&  )
defaultnoexcept

◆ empty()

bool toolbox::util::VarAccum::empty ( ) const
inlinenoexcept

Definition at line 66 of file Math.hpp.

◆ size()

std::size_t toolbox::util::VarAccum::size ( ) const
inlinenoexcept

Definition at line 67 of file Math.hpp.

◆ mean()

double toolbox::util::VarAccum::mean ( ) const
inlinenoexcept

Definition at line 68 of file Math.hpp.

◆ sum2()

double toolbox::util::VarAccum::sum2 ( ) const
inlinenoexcept

Definition at line 69 of file Math.hpp.

◆ min()

double toolbox::util::VarAccum::min ( ) const
inlinenoexcept

Definition at line 70 of file Math.hpp.

◆ max()

double toolbox::util::VarAccum::max ( ) const
inlinenoexcept

Definition at line 71 of file Math.hpp.

◆ clear()

void toolbox::util::VarAccum::clear ( )
inlinenoexcept

Definition at line 73 of file Math.hpp.

◆ append() [1/2]

void toolbox::util::VarAccum::append ( double  val)
inlinenoexcept

Definition at line 81 of file Math.hpp.

◆ append() [2/2]

template<typename... ArgsT>
void toolbox::util::VarAccum::append ( double  first,
ArgsT...  args 
)
inlinenoexcept

Definition at line 91 of file Math.hpp.


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