SPUC  3.0
Public Member Functions | Protected Attributes | List of all members
SPUC::rv_stat Class Reference

a basic random Variable Statistics Class More...

#include <rv_stat.h>

Public Member Functions

 rv_stat ()
 
void update (float_type x)
 
float_type average ()
 
float_type mean_sq ()
 
float_type rms ()
 
float_type var ()
 
float_type std ()
 
float_type minimum ()
 
float_type maximum ()
 

Protected Attributes

float_type count
 
float_type av
 
float_type sq
 
float_type min_abs
 
float_type max_abs
 

Detailed Description

a basic random Variable Statistics Class

Author
Tony Kirke

Constructor & Destructor Documentation

SPUC::rv_stat::rv_stat ( )

References av, count, max_abs, min_abs, and sq.

Member Function Documentation

float_type SPUC::rv_stat::average ( )
inline
float_type SPUC::rv_stat::maximum ( )
inline
float_type SPUC::rv_stat::mean_sq ( )
inline
float_type SPUC::rv_stat::minimum ( )
inline
float_type SPUC::rv_stat::rms ( )
inline

References SPUC::sqrt().

Here is the call graph for this function:

float_type SPUC::rv_stat::std ( )
inline

References SPUC::sqrt(), and var().

Here is the call graph for this function:

void SPUC::rv_stat::update ( float_type  x)

References SPUC::ABS(), av, count, SPUC::MAX(), max_abs, SPUC::MIN(), min_abs, sq, and SPUC::SQR().

Here is the call graph for this function:

float_type SPUC::rv_stat::var ( )
inline

Referenced by std().

Member Data Documentation

float_type SPUC::rv_stat::av
protected

Referenced by rv_stat(), and update().

float_type SPUC::rv_stat::count
protected

Referenced by rv_stat(), and update().

float_type SPUC::rv_stat::max_abs
protected

Referenced by rv_stat(), and update().

float_type SPUC::rv_stat::min_abs
protected

Referenced by rv_stat(), and update().

float_type SPUC::rv_stat::sq
protected

Referenced by rv_stat(), and update().


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