org.appliedtopology.tda4j.DenseMatrix.SingularValueDecomposition
See theSingularValueDecomposition companion object
The compact singular value decomposition A = U diag(S) V^T of an m x n matrix, with p = min(m, n): singularValues are the p singular values in descending order, u is m x p and v is n x p, and both have orthonormal columns. For a singular value of 0 (or one lost in the rounding) the column of u or v is a unit vector orthogonal to the others, chosen among the standard basis directions.
Computed by one-sided Jacobi rotations (Hestenes), which keep small singular values accurate relative to their own size when the matrix is well scaled by columns, and need no tuning: they stop when every pair of columns is orthogonal to rounding. A wide matrix is decomposed through its transpose, which exchanges u and v.
Attributes
- Companion
- object
- Source
- DenseMatrix.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article