casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
RMSMeasurement Class Reference

#include <timeblockencoder.h>

Public Member Functions

 RMSMeasurement ()
 
void Include (const std::complex< double > &val)
 
double RMS () const
 

Static Private Member Functions

static bool isfinite (const std::complex< double > &val)
 

Private Attributes

size_t _count
 
double _value
 

Detailed Description

Definition at line 12 of file timeblockencoder.h.

Constructor & Destructor Documentation

RMSMeasurement::RMSMeasurement ( )
inline

Definition at line 14 of file timeblockencoder.h.

Member Function Documentation

void RMSMeasurement::Include ( const std::complex< double > &  val)
inline

Definition at line 16 of file timeblockencoder.h.

References _count, _value, and isfinite().

static bool RMSMeasurement::isfinite ( const std::complex< double > &  val)
inlinestaticprivate

Definition at line 26 of file timeblockencoder.h.

References casacore::arrays_internal::isfinite().

Referenced by Include().

double RMSMeasurement::RMS ( ) const
inline

Definition at line 23 of file timeblockencoder.h.

References _count, _value, and casacore::sqrt().

Member Data Documentation

size_t RMSMeasurement::_count
private

Definition at line 30 of file timeblockencoder.h.

Referenced by Include(), and RMS().

double RMSMeasurement::_value
private

Definition at line 31 of file timeblockencoder.h.

Referenced by Include(), and RMS().


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