org.ejml.alg.dense.decomposition.bidiagonal
Class BidiagonalDecompositionNaive
java.lang.Object
org.ejml.alg.dense.decomposition.bidiagonal.BidiagonalDecompositionNaive
public class BidiagonalDecompositionNaive
- extends Object
A slower but much simpler version of BidiagonalDecompositionRow that internally uses
SimpleMatrix and explicitly computes the householder matrices. This was easier to code up and is
used to validate other implementations.
- Author:
- Peter Abeles
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BidiagonalDecompositionNaive
public BidiagonalDecompositionNaive()
getU
public SimpleMatrix getU()
getB
public SimpleMatrix getB()
getV
public SimpleMatrix getV()
decompose
public boolean decompose(DenseMatrix64F A)
- Computes the decomposition of the provided matrix. If no errors are detected then true is returned,
false otherwise.
- Parameters:
A - The matrix that is being decomposed. Not modified.
- Returns:
- If it detects any errors or not.
init
protected void init(DenseMatrix64F A)
computeU
protected void computeU(int k)
computeV
protected void computeV(int k)
Copyright © 2012. All Rights Reserved.