Computing the maximum value of a discretely sampled signal. More...
#include <ignition/math/SignalStats.hh>
Public Member Functions | |
virtual void | InsertData (const double _data) |
Add a new sample to the statistical measure. | |
virtual std::string | ShortName () const |
Get a short version of the name of this statistical measure. | |
virtual double | Value () const |
Get the current value of the statistical measure. | |
![]() | |
SignalStatistic () | |
Constructor. | |
SignalStatistic (const SignalStatistic &_ss) | |
Copy constructor. | |
virtual | ~SignalStatistic () |
Destructor. | |
virtual size_t | Count () const |
Get number of data points in measurement. | |
virtual void | Reset () |
Forget all previous data. | |
Additional Inherited Members | |
![]() | |
std::unique_ptr< SignalStatisticPrivate > | dataPtr |
Pointer to private data. | |
Computing the maximum value of a discretely sampled signal.
|
virtual |
Add a new sample to the statistical measure.
[in] | _data | New signal data point. |
Implements ignition::math::IGNITION_MATH_VERSION_NAMESPACE::SignalStatistic.
|
virtual |
Get a short version of the name of this statistical measure.
Implements ignition::math::IGNITION_MATH_VERSION_NAMESPACE::SignalStatistic.
|
virtual |
Get the current value of the statistical measure.
Implements ignition::math::IGNITION_MATH_VERSION_NAMESPACE::SignalStatistic.