BIE::StatisticsFilter Class Reference

Statistics Filter: Computes the mean of a set of reals. More...

#include <SetFilters.h>

Inheritance diagram for BIE::StatisticsFilter:
Collaboration diagram for BIE::StatisticsFilter:

List of all members.

Public Member Functions

 StatisticsFilter (RecordStream *stream)
 Constructs an unconnected filter that can compute the mean of a collection of values in the given input or output stream.
void compute ()
 Called when new input is available by the inheriting stream, this fills the filter output buffers.

Friends

class boost::serialization::access


Detailed Description

Statistics Filter: Computes the mean of a set of reals.

Member Function Documentation

void BIE::StatisticsFilter::compute (  )  [virtual]

Called when new input is available by the inheriting stream, this fills the filter output buffers.

Implements BIE::RecordStreamFilter.


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

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:13 2010 by doxygen