|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.maths.KarhunenLoeve
public final class KarhunenLoeve
This class implements the Karhunen-Loeve expansion.
Field Summary | |
---|---|
(package private) double[][] |
data
|
Constructor Summary | |
---|---|
KarhunenLoeve(double[][] v)
|
Method Summary | |
---|---|
double[][] |
getData()
Careful: doesn't generate a copy. |
double[][] |
getEigenvectorArrays()
Returns the eigenvectors ordered by the norm of the eigenvalues (from max to min). |
AbstractDoubleVector[] |
getEigenvectors()
Returns the eigenvectors ordered by the norm of the eigenvalues (from max to min). |
double[][] |
getProductMatrix()
|
static double[][] |
getProductMatrix(double[] v)
|
static double[][] |
getProductMatrix(double[][] v)
|
void |
setData(double[][] v)
Careful: doesn't generate a copy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
double[][] data
Constructor Detail |
---|
public KarhunenLoeve(double[][] v)
v
- an array where [i][j] is the jth component of the ith vector.Method Detail |
---|
public double[][] getProductMatrix()
public static double[][] getProductMatrix(double[][] v)
v
- an array where [i][j] is the jth component of the ith vector.public static double[][] getProductMatrix(double[] v)
public double[][] getData()
public void setData(double[][] v)
v
- an array where [i][j] is the jth component of the ith vector.public AbstractDoubleVector[] getEigenvectors() throws MaximumIterationsExceededException
MaximumIterationsExceededException
- if it can't compute
the eigenvectors within the limited number of iterations allowed.public double[][] getEigenvectorArrays() throws MaximumIterationsExceededException
MaximumIterationsExceededException
- if it can't compute
the eigenvectors within the limited number of iterations allowed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |