mikera.matrixx.decompose.impl.svd
Class SvdImplicitQr
- java.lang.Object
-
- mikera.matrixx.decompose.impl.svd.SvdImplicitQr
-
public class SvdImplicitQr extends java.lang.ObjectComputes the Singular value decomposition of a matrix using the implicit QR algorithm for singular value decomposition. It works by first by transforming the matrix to a bidiagonal A=U*B*VT form, then it implicitly computing the eigenvalues of the BTB matrix, which are the same as the singular values in the original A matrix.
Based off of the description provided in:
David S. Watkins, "Fundamentals of Matrix Computations," Second Edition. Page 404-411
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description SVDResult_decompose(AMatrix _orig)static SVDResultdecompose(AMatrix A, boolean compact)AMatrixgetS()AVectorgetSingularValues()AMatrixgetU()AMatrixgetV()booleanisCompact()intnumberOfSingularValues()intnumCols()intnumRows()
-
-
-
Method Detail
-
getSingularValues
public AVector getSingularValues()
-
numberOfSingularValues
public int numberOfSingularValues()
-
isCompact
public boolean isCompact()
-
getU
public AMatrix getU()
-
getV
public AMatrix getV()
-
getS
public AMatrix getS()
-
numRows
public int numRows()
-
numCols
public int numCols()
-
-
DMelt 3.0 © DataMelt by jWork.ORG