wandou.math.algebra

SingularValueDecomposition

class SingularValueDecomposition extends Serializable

Constructs and returns a new singular value decomposition object; The decomposed matrices can be retrieved via instance methods of the returned decomposition object.

See also

http://en.wikipedia.org/wiki/Singular_value_decomposition also @see http://en.wikipedia.org/wiki/Eigenvalue,_eigenvector_and_eigenspace

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SingularValueDecomposition
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SingularValueDecomposition(arg: Matrix)

    arg

    A rectangular matrix.

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. val a: Array[Array[Double]]

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def cond: Double

    Returns the two norm condition number, which is max(S) / min(S).

    Returns the two norm condition number, which is max(S) / min(S).

  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def getCovariance(minSingularValue: Double): Matrix

    returns

    Returns the n × n covariance matrix. The covariance matrix is V × J × Vt where J is the diagonal matrix of the inverse of the squares of the singular values.

  13. def getS: Matrix

    returns

    the diagonal matrix of singular values.

  14. def getSingularValues: Array[Double]

    Returns the diagonal of S, which is a one-dimensional array of singular values

    Returns the diagonal of S, which is a one-dimensional array of singular values

    returns

    diagonal of S.

  15. def getU: Matrix

    Returns the left singular vectors U.

    Returns the left singular vectors U.

    returns

    U

  16. def getV: Matrix

    Returns the right singular vectors V.

    Returns the right singular vectors V.

    returns

    V

  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. def init(arg: Matrix): Unit

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def norm2: Double

    Returns the two norm, which is max(S).

    Returns the two norm, which is max(S).

  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def rank: Int

    Returns the effective numerical matrix rank, which is the number of nonnegligible singular values.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Returns a String with (propertyName, propertyValue) pairs.

    Returns a String with (propertyName, propertyValue) pairs. Useful for debugging or to quickly get the rough picture. For example,

    rank          : 3
    trace         : 0
    

    Definition Classes
    SingularValueDecomposition → AnyRef → Any
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped