Class LinearSolverCholLDL_DDRM

  • All Implemented Interfaces:
    org.ejml.interfaces.linsol.LinearSolver<org.ejml.data.DMatrixRMaj,​org.ejml.data.DMatrixRMaj>, org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.DMatrixRMaj>

    public class LinearSolverCholLDL_DDRM
    extends LinearSolverAbstract_DDRM
    • Constructor Detail

      • LinearSolverCholLDL_DDRM

        public LinearSolverCholLDL_DDRM()
    • Method Detail

      • setA

        public boolean setA​(org.ejml.data.DMatrixRMaj A)
      • quality

        public double quality()
      • solve

        public void solve​(org.ejml.data.DMatrixRMaj B,
                          org.ejml.data.DMatrixRMaj X)

        Using the decomposition, finds the value of 'X' in the linear equation below:
        A*x = b
        where A has dimension of n by n, x and b are n by m dimension.

        *Note* that 'b' and 'x' can be the same matrix instance.

        Parameters:
        B - A matrix that is n by m. Not modified.
        X - An n by m matrix where the solution is writen to. Modified.
      • invert

        public void invert​(org.ejml.data.DMatrixRMaj inv)
        Sets the matrix 'inv' equal to the inverse of the matrix that was decomposed.
        Specified by:
        invert in interface org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.DMatrixRMaj>
        Overrides:
        invert in class LinearSolverAbstract_DDRM
        Parameters:
        inv - Where the value of the inverse will be stored. Modified.
      • modifiesA

        public boolean modifiesA()
      • modifiesB

        public boolean modifiesB()
      • getDecomposition

        public org.ejml.interfaces.decomposition.CholeskyLDLDecomposition_F64<org.ejml.data.DMatrixRMaj> getDecomposition()