Returns the Singular Value Decomposition (SVD) of the given matrix. Equivalent to
R's svd function.
Returns:
a map containing:
:S -- the diagonal matrix of singular values
:U -- the left singular vectors U
:V -- the right singular vectors V
Examples:
(use 'incanter.core)
(def foo (matrix (range 9) 3))
(decomp-foo foo)
References:
http://en.wikipedia.org/wiki/Singular_value_decomposition
http://incanter.org/docs/parallelcolt/api/cern/colt/matrix/tdouble/algo/decomposition/DoubleSingularValueDecompositionDC.html
Comments top
No comments for decomp-svd. Log in to add a comment.