mikera.matrixx.decompose.impl.svd
Class SVDResult
- java.lang.Object
-
- mikera.matrixx.decompose.impl.svd.SVDResult
-
- All Implemented Interfaces:
- ISVDResult
public class SVDResult extends java.lang.Object implements ISVDResult
-
-
Constructor Summary
Constructors Constructor and Description SVDResult(AMatrix U, AMatrix S, AMatrix V, AVector singularValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description AMatrixgetS()Returns a diagonal matrix with the singular values.AVectorgetSingularValues()Returns an array containing singular values.AMatrixgetU()Returns the orthogonal 'U' matrix.AMatrixgetV()Returns the orthogonal 'V' matrix.
-
-
-
Method Detail
-
getU
public AMatrix getU()
Returns the orthogonal 'U' matrix.
- Specified by:
getUin interfaceISVDResult- Returns:
- An orthogonal matrix.
-
getS
public AMatrix getS()
Returns a diagonal matrix with the singular values. Order of the singular values is not guaranteed.- Specified by:
getSin interfaceISVDResult- Returns:
- matrix with singular values along the diagonal.
-
getV
public AMatrix getV()
Returns the orthogonal 'V' matrix.
- Specified by:
getVin interfaceISVDResult- Returns:
- An orthogonal matrix.
-
getSingularValues
public AVector getSingularValues()
Description copied from interface:ISVDResultReturns an array containing singular values. The non zero singular values are the square roots of the non-zero eigenvalues of MTM and MMT, where M is the input matrix.- Specified by:
getSingularValuesin interfaceISVDResult- Returns:
-
-
DMelt 3.0 © DataMelt by jWork.ORG