gov.sandia.cognition.math.matrix.mtj.decomposition
Class SingularValueDecompositionMTJ

java.lang.Object
  extended by gov.sandia.cognition.math.matrix.decomposition.AbstractSingularValueDecomposition
      extended by gov.sandia.cognition.math.matrix.mtj.decomposition.SingularValueDecompositionMTJ
All Implemented Interfaces:
SingularValueDecomposition

@CodeReview(reviewer="Justin Basilico",
            date="2006-07-27",
            changesNeeded=true,
            comments="The constructor should be changed to a static method because it involves significant computation.",
            response=@CodeReviewResponse(respondent="Kevin R. Dixon",date="2007-11-25",moreChangesNeeded=false,comments="Added static create() method, made constructor private"))
public class SingularValueDecompositionMTJ
extends AbstractSingularValueDecomposition

Full singular-value decomposition, based on MTJ's SVD.

Since:
1.0
Author:
Kevin R. Dixon

Method Summary
static SingularValueDecompositionMTJ create(Matrix matrix)
          Creates a new instance of SingularValueDecompositionMTJ
 
Methods inherited from class gov.sandia.cognition.math.matrix.decomposition.AbstractSingularValueDecomposition
conditionNumber, effectiveRank, getS, getU, getVtranspose, norm2, pseudoInverse, pseudoInverse, rank, setS, setU, setVtranspose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static SingularValueDecompositionMTJ create(Matrix matrix)
                                            throws OperationNotConvergedException
Creates a new instance of SingularValueDecompositionMTJ

Parameters:
matrix - DenseMatrix to be decomposed. Not modified.
Returns:
New SingularValueDecompositionMTJ for the given matrix
Throws:
OperationNotConvergedException - If the SVD does not converge.