Package gpl.whiten

Class WhitenVector

java.lang.Object
gpl.whiten.WhitenVector

public class WhitenVector extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    double[]
    whitenVector(double[] data)
    Static function for instant whitening of a single row of data using a scale whitening factor of 1.0.
    double[]
    whitenVector(double[] data, double whitenFac)
    Static function for instant whitening of a single row of data.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WhitenVector

      public WhitenVector()
  • Method Details

    • whitenVector

      public double[] whitenVector(double[] data)
      Static function for instant whitening of a single row of data using a scale whitening factor of 1.0.
      Parameters:
      data - Data array.
      Returns:
      whitened data
    • whitenVector

      public double[] whitenVector(double[] data, double whitenFac)
      Static function for instant whitening of a single row of data.
      Parameters:
      data - Data array.
      whitenFac - Whitening factor (default to 1).
      Returns:
      whitened data
    • getMu

      public double getMu()
      Returns:
      the latest smoothing mean calculated in the last call to whitenVector(...)