Documentation of 'org.ejml.simple.SimpleSVD' Java class
SimpleSVD
org.ejml.simple

Class SimpleSVD<T extends SimpleMatrix>



  • public class SimpleSVD<T extends SimpleMatrix>
    extends java.lang.Object

    Wrapper around SVD for simple matrix. See SingularValueDecomposition for more details.

    SVD is defined as the following decomposition:

    A = U * W * V T

    where A is m by n, and U and V are orthogonal matrices, and W is a diagonal matrix

    Tolerance for singular values is Math.max(mat.numRows,mat.numCols) * W.get(0,0) * UtilEjml.EPS; where W.get(0,0) is the largest singular value.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double getSingleValue(int index)
      Returns the specified singular value.
      SingularValueDecomposition getSVD()
      Returns the underlying decomposition that this is a wrapper around.
      T getU()
      Returns the orthogonal 'U' matrix.
      T getV()
      Returns the orthogonal 'V' matrix.
      T getW()
      Returns a diagonal matrix with the singular values.
      int nullity()
      The nullity of the decomposed matrix.
      SimpleMatrix nullSpace()
      Computes the null space from an SVD.
      double quality()
      Computes the quality of the computed decomposition.
      int rank()
      Returns the rank of the decomposed matrix.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.