MeanRadian< T, U > Class Template Reference

Calculates the mean of a value in radians. More...

#include <Estimate.h>

Public Member Functions

 MeanRadian ()
 Default constructor.
 
 MeanRadian (const MeanRadian &mean)
 Copy constructor.
 
const MeanRadianoperator= (const MeanRadian &mean)
 Assignment operator.
 
 MeanRadian (const Estimate< T, U > &d)
 Construct from an Estimate.
 
const MeanRadianoperator= (const Estimate< T, U > &d)
 Assignment operator, Estimate represents a value in radians.
 
const MeanRadianoperator+= (const MeanRadian &d)
 Addition operator.
 
const MeanRadianoperator+= (const Estimate< T, U > &d)
 Addition operator, Estimate represents a value in radians.
 
Estimate< T, U > get_Estimate () const
 
Estimate< T, U > get_sin () const
 
Estimate< T, U > get_cos () const
 

Protected Attributes

MeanEstimate< T, U > cosine
 The average cosine.
 
MeanEstimate< T, U > sine
 The average sine.
 

Detailed Description

template<typename T, typename U>
class MeanRadian< T, U >

Calculates the mean of a value in radians.

This class stores the mean value of the sine and cosine of each angle added to the mean, and returns the inverse tangent of their ratio.


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

Generated using doxygen 1.8.14