Class BidiagonalDecompositionNaive_DDRM
- java.lang.Object
-
- org.ejml.dense.row.decomposition.bidiagonal.BidiagonalDecompositionNaive_DDRM
-
public class BidiagonalDecompositionNaive_DDRM extends java.lang.ObjectA slower but much simpler version ofBidiagonalDecompositionRow_DDRMthat internally uses SimpleMatrix and explicitly computes the householder matrices. This was easier to code up and is used to validate other implementations.
-
-
Constructor Summary
Constructors Constructor Description BidiagonalDecompositionNaive_DDRM()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcomputeU(int k)protected voidcomputeV(int k)booleandecompose(org.ejml.data.DMatrixRMaj A)Computes the decomposition of the provided matrix.org.ejml.simple.SimpleMatrixgetB()org.ejml.simple.SimpleMatrixgetU()org.ejml.simple.SimpleMatrixgetV()protected voidinit(org.ejml.data.DMatrixRMaj A)
-
-
-
Method Detail
-
getU
public org.ejml.simple.SimpleMatrix getU()
-
getB
public org.ejml.simple.SimpleMatrix getB()
-
getV
public org.ejml.simple.SimpleMatrix getV()
-
decompose
public boolean decompose(org.ejml.data.DMatrixRMaj 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(org.ejml.data.DMatrixRMaj A)
-
computeU
protected void computeU(int k)
-
computeV
protected void computeV(int k)
-
-