Class Trend
Fits a line through recent readings, so a slow drift shows before it matters.
public sealed class Trend : IDisposable
- Inheritance
-
Trend
- Implements
- Inherited Members
Constructors
Trend()
Creates an empty trend estimator.
public Trend()
Exceptions
- PamojaException
The native estimator could not be created.
Properties
Slope
The fitted slope in units per reading, or null without enough
readings. A positive slope is a rising signal.
public float? Slope { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Push(float)
Adds a reading.
public void Push(float reading)
Parameters
readingfloatThe reading to add.