Package gpl.whiten
Class WhitenVector
java.lang.Object
gpl.whiten.WhitenVector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getMu()
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.
-
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(...)
-