ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Samples Class Reference

#include <integrator.h>

Inheritance diagram for Samples:

TclObject List of all members.

Public Member Functions

 Samples ()
void newPoint (double val)
int cnt () const
double sum () const
double mean () const
double variance () const
void reset ()
int command (int argc, const char *const *argv)

Protected Attributes

int cnt_
double sum_
double sqsum_

Constructor & Destructor Documentation

Samples::Samples   [inline]

Member Function Documentation

int Samples::cnt   const [inline]

int Samples::command int    argc,
const char *const *    argv

Reimplemented from TclObject.

double Samples::mean   const [inline]

void Samples::newPoint double    val [inline]

void Samples::reset   [inline]

double Samples::sum   const [inline]

double Samples::variance   const [inline]

Member Data Documentation

int Samples::cnt_ [protected]

double Samples::sqsum_ [protected]

double Samples::sum_ [protected]

The documentation for this class was generated from the following files:
This document is generated by doxygen.