Documentation of 'org.nd4j.linalg.eigen.Eigen' Java class
Eigen
org.nd4j.linalg.eigen

Class Eigen



  • public class Eigen
    extends java.lang.Object
    Compute eigen values
    • Field Detail

    • Constructor Detail

      • Eigen

        public Eigen()
    • Method Detail

      • eigenvalues

        public static IComplexNDArray eigenvalues(INDArray A)
        Computes the eigenvalues of a general matrix.
      • symmetricGeneralizedEigenvalues

        public static INDArray symmetricGeneralizedEigenvalues(INDArray A)
        Compute generalized eigenvalues of the problem A x = L B x.
        Parameters:
        A - symmetric Matrix A. Only the upper triangle will be considered.
        Returns:
        a vector of eigenvalues L.
      • eigenvectors

        public static IComplexNDArray[] eigenvectors(INDArray A)
        Computes the eigenvalues and eigenvectors of a general matrix. For matlab users note the following from their documentation: The columns of V present eigenvectors of A. The diagonal matrix D contains eigenvalues. This is in reverse order of the matlab eig(A) call.
        Parameters:
        A - the ndarray to getFloat the eigen vectors for
        Returns:
        2 arrays representing W (eigen vectors) and V (normalized eigen vectors)
      • symmetricGeneralizedEigenvalues

        public static INDArray symmetricGeneralizedEigenvalues(INDArray A,
                                                               INDArray B)
        Compute generalized eigenvalues of the problem A x = L B x.
        Parameters:
        A - symmetric Matrix A. Only the upper triangle will be considered.
        B - symmetric Matrix B. Only the upper triangle will be considered.
        Returns:
        a vector of eigenvalues L.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.