scalation.linalgebra

SVD

class SVD extends Error

The SVD class is used to compute the Singlar Value Decomposition (SVD) of matrix 'a' using the Golub-Kahan-Reinsch Algorithm. Decompose matrix 'a' into the product of three matrices:

a = u * b * v.t

where 'u' is a matrix of orthogonal eigenvectors of 'a * a.t' (LEFT SINGULAR VECTORS) 'v' is a matrix of orthogonal eigenvectors of 'a.t * a' (RIGHT SINGULAR VECTORS) and 'b' is a diagonal matrix of square roots of eigenvalues of 'a.t * a' &' a * a.t' (SINGULAR VALUES).

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

Instance Constructors

  1. new SVD(aa: MatrixD)

    aa

    the m-by-n matrix to decompose (algorithm requires m >= n)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def decompose(): (MatrixD, MatrixD, MatrixD)

    Compute the Singular Value Decomposition (SVD) of matrix 'a' returning the three factors: 'u, b, v'.

    Compute the Singular Value Decomposition (SVD) of matrix 'a' returning the three factors: 'u, b, v'.

    See also

    Matrix Computation: Algorithm 8.6.2 SVD Algorithm.

  9. def diagonStep(p: Int, q: Int): Unit

    Take one step in converting the bidiagoanl matrix 'b' to a diagonal matrix.

    Take one step in converting the bidiagoanl matrix 'b' to a diagonal matrix. That is, reduce the middle run of nonzero super-diagonal elements by one.

    p

    the size of the head of the super-diagonal

    q

    the size of the tail of the super-diagonal

    See also

    Matrix Computation: Algorithm 8.6.1 Golub-Kahan Step.

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def findMiddle(): (Int, Int)

    Find the run of nonzero elements in the middle of the super-diagonal of matrix 'a' such that the tail super-diagonal contains only zeros.

    Find the run of nonzero elements in the middle of the super-diagonal of matrix 'a' such that the tail super-diagonal contains only zeros. Return p the size of the head and q the size of the tail.

  14. def findZero(j: Int, k: Int): Int

    Find/return the index of the first diagonal entry in 'a' from 'j' until 'k' that is zero; otherwise -1 (not found).

    Find/return the index of the first diagonal entry in 'a' from 'j' until 'k' that is zero; otherwise -1 (not found).

    j

    strart the search here

    k

    end the search here

  15. def flaw(method: String, message: String): Unit

    Show the flaw by printing the error message.

    Show the flaw by printing the error message.

    method

    the method where the error occurred

    message

    the error message

    Definition Classes
    Error
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  20. final def notify(): Unit

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

    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Error

Inherited from AnyRef

Inherited from Any

Ungrouped