Class Variable.LSLCORREL

java.lang.Object
org.rrd4j.data.Variable
org.rrd4j.data.Variable.LSLCORREL
Enclosing class:
Variable

public static class Variable.LSLCORREL extends Variable
Calculate the correlation coefficient of the least squares line.
  • Constructor Details

    • LSLCORREL

      public LSLCORREL()
  • Method Details

    • fill

      protected Variable.Value fill(long[] timestamps, double[] values, long start, long end)
      Description copied from class: Variable
      This method is call with the needed values, extracted from the datasource to do the calculation. Value is to be filled with both the double value and a possible timestamp, when it's used to find a specific point
      Specified by:
      fill in class Variable
      Parameters:
      timestamps - the timestamps for the value
      values - the actual values
      start - the start of the period
      end - the end of the period
      Returns:
      a filled Value object