MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Dbspj::IncrementalStatistics Class Reference

#include <Dbspj.hpp>

Public Member Functions

void init ()
void update (double sample)
double getMean () const
double getStdDev () const

Detailed Description

This class computes mean and standard deviation incrementally for a series of samples.

Definition at line 537 of file Dbspj.hpp.

Member Function Documentation

void Dbspj::IncrementalStatistics::init ( void  )
inline

We cannot have a (non-trivial) constructor, since this class is used in unions.

Definition at line 544 of file Dbspj.hpp.


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