Class BidiagonalDecompositionNaive_FDRM
java.lang.Object
org.ejml.dense.row.decomposition.bidiagonal.BidiagonalDecompositionNaive_FDRM
@Generated("org.ejml.dense.row.decomposition.bidiagonal.BidiagonalDecompositionNaive_DDRM")
public class BidiagonalDecompositionNaive_FDRM
extends Object
A slower but much simpler version of
BidiagonalDecompositionRow_FDRM that 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcomputeU(int k) protected voidcomputeV(int k) booleandecompose(org.ejml.data.FMatrixRMaj 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.FMatrixRMaj A)
-
Constructor Details
-
BidiagonalDecompositionNaive_FDRM
public BidiagonalDecompositionNaive_FDRM()
-
-
Method Details
-
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.FMatrixRMaj 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.FMatrixRMaj A) -
computeU
protected void computeU(int k) -
computeV
protected void computeV(int k)
-