Class RollingStats

java.lang.Object
llnl.gnem.core.util.seriesMathHelpers.RollingStats

public class RollingStats extends Object
http://en.wikipedia.org/wiki/Standard_deviation#Rapid_calculation_methods
Author:
dodge1
  • Constructor Details

    • RollingStats

      public RollingStats(float[] data)
  • Method Details

    • replace

      public void replace(float oldDatum, float newDatum)
    • getMean

      public double getMean()
    • getStandardDeviation

      public double getStandardDeviation()
    • toString

      public String toString()
      Overrides:
      toString in class Object