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()
SVDAlgorithm
getW
in interface SVDAlgorithm
public DblMatrix getV()
SVDAlgorithm
getV
in interface SVDAlgorithm
public DblMatrix nullspace()
nullspace
in interface SVDAlgorithm
public DblMatrix getU()
SVDAlgorithm
getU
in interface SVDAlgorithm
public DblMatrix solveSystem(DblMatrix Y)
SVDAlgorithm
solveSystem
in interface SVDAlgorithm
public void update()
public DblMatrix conditionNumber()
SVDAlgorithm
conditionNumber
in interface SVDAlgorithm
public boolean isSingular()
SVDAlgorithm
isSingular
in interface SVDAlgorithm
public void setAlgorithm(AbstractSVDAlgorithm M)
public SVDAlgorithm getAlgorithm()
Copyright © 2011, 2013. Daniel P. Dougherty