Aria  2.8.0
ArRootMeanSquareCalculator Class Reference

This is a class for computing a root mean square average of a number of elements. More...

#include <ariaUtil.h>

Public Member Functions

void add (int val)
 Adds a number.
 
 ArRootMeanSquareCalculator ()
 Constructor.
 
void clear (void)
 Clears the average.
 
size_t getCurrentNumAveraged (void)
 Gets the num averaged.
 
const char * getName (void)
 Gets the name.
 
double getRootMeanSquare (void) const
 Gets the average.
 
void setName (const char *name)
 Sets the name.
 
 ~ArRootMeanSquareCalculator ()
 Destructor.
 

Protected Attributes

std::string myName
 
size_t myNum
 
long long myTotal
 

Detailed Description

This is a class for computing a root mean square average of a number of elements.


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