Class MeanRadian

template<typename T, typename U>
class MeanRadian

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.

Public Functions

inline MeanRadian()

Default constructor.

inline MeanRadian(const MeanRadian &mean)

Copy constructor.

inline const MeanRadian &operator=(const MeanRadian &mean)

Assignment operator.

inline MeanRadian(const Estimate<T, U> &d)

Construct from an Estimate.

inline const MeanRadian &operator=(const Estimate<T, U> &d)

Assignment operator, Estimate represents a value in radians.

inline const MeanRadian &operator+=(const MeanRadian &d)

Addition operator.

inline const MeanRadian &operator+=(const Estimate<T, U> &d)

Addition operator, Estimate represents a value in radians.