public class SVDFact extends java.lang.Object implements SVDAlgorithm
| Constructor and Description |
|---|
SVDFact(AbstractSVDAlgorithm Alg)
Default construction useful when the user wants to use a non-default algorithm.
|
SVDFact(DblMatrix X)
Construction using the default algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
DblMatrix |
conditionNumber()
Returns the condition number of the decomposed matrix.
|
SVDAlgorithm |
getAlgorithm()
Get the SVDAlgorithm currently being used.
|
DblMatrix |
getU()
Get an orthonormal basis for the range of the decomposed matrix.
|
DblMatrix |
getV()
Get an orthonormal basis for the nullspace of the decomposed matrix.
|
DblMatrix |
getW()
Get the singular values of the matrix.
|
boolean |
isSingular()
Return true if a singular condition is encountered during.
|
DblMatrix |
nullspace()
Return an orthonormal basis for the nullspace of the decomposed matrix.
|
void |
setAlgorithm(AbstractSVDAlgorithm M)
Set the SVDAlgorithm to be used.
|
DblMatrix |
solveSystem(DblMatrix Y)
Solve a linear system (X*b = Y) returning the coeficients
as a DblMatrix.
|
void |
update() |
public SVDFact(AbstractSVDAlgorithm Alg)
public SVDFact(DblMatrix X)
public DblMatrix getW()
SVDAlgorithmgetW in interface SVDAlgorithmpublic DblMatrix getV()
SVDAlgorithmgetV in interface SVDAlgorithmpublic DblMatrix nullspace()
nullspace in interface SVDAlgorithmpublic DblMatrix getU()
SVDAlgorithmgetU in interface SVDAlgorithmpublic DblMatrix solveSystem(DblMatrix Y)
SVDAlgorithmsolveSystem in interface SVDAlgorithmpublic void update()
public DblMatrix conditionNumber()
SVDAlgorithmconditionNumber in interface SVDAlgorithmpublic boolean isSingular()
SVDAlgorithmisSingular in interface SVDAlgorithmpublic void setAlgorithm(AbstractSVDAlgorithm M)
public SVDAlgorithm getAlgorithm()
Copyright © 2011, 2013. Daniel P. Dougherty