Documentation of 'jsci.maths.KarhunenLoeve' Java class
KarhunenLoeve
jsci.maths

Class KarhunenLoeve



  • public final class KarhunenLoeve
    extends java.lang.Object
    This class implements the Karhunen-Loeve expansion.
    • Constructor Detail

      • KarhunenLoeve

        public KarhunenLoeve(double[][] v)
        Parameters:
        v - an array where [i][j] is the jth component of the ith vector.
    • Method Detail

      • getProductMatrix

        public double[][] getProductMatrix()
      • getProductMatrix

        public static double[][] getProductMatrix(double[][] v)
        Parameters:
        v - an array where [i][j] is the jth component of the ith vector.
      • getProductMatrix

        public static double[][] getProductMatrix(double[] v)
      • getData

        public double[][] getData()
        Careful: doesn't generate a copy.
      • setData

        public void setData(double[][] v)
        Careful: doesn't generate a copy.
        Parameters:
        v - an array where [i][j] is the jth component of the ith vector.
      • getEigenvectorArrays

        public double[][] getEigenvectorArrays()
                                        throws MaximumIterationsExceededException
        Returns the eigenvectors ordered by the norm of the eigenvalues (from max to min).
        Returns:
        an array where [i][j] is the jth component of the ith eigenvector.
        Throws:
        MaximumIterationsExceededException - if it can't compute the eigenvectors within the limited number of iterations allowed.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.