Search Results for

    Show / Hide Table of Contents

    Class RecursiveAverage

    Recursive average

    Inheritance
    object
    RecursiveAverage
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: TimeSeriesAnalysis
    Assembly: TimeSeriesAnalysis.dll
    Syntax
    public class RecursiveAverage

    Constructors

    | Edit this page View Source

    RecursiveAverage(double)

    Constructor

    Declaration
    public RecursiveAverage(double nanValue = -9999)
    Parameters
    Type Name Description
    double nanValue

    valeue to be treated as NaN and ignored if applicable

    Methods

    | Edit this page View Source

    AddDataPoint(double)

    Adds one data point to the recursive average, ignoring NaN values

    Declaration
    public void AddDataPoint(double value)
    Parameters
    Type Name Description
    double value
    | Edit this page View Source

    GetAverage()

    Gets average over all data points added since last reset

    Declaration
    public double GetAverage()
    Returns
    Type Description
    double
    | Edit this page View Source

    Reset()

    Resets filter

    Declaration
    public void Reset()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX