Class LinearSolverChol_FDRM

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

    public class LinearSolverChol_FDRM
    extends LinearSolverAbstract_FDRM
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.ejml.interfaces.decomposition.CholeskyDecomposition_F32<org.ejml.data.FMatrixRMaj> getDecomposition()  
      void invert​(org.ejml.data.FMatrixRMaj inv)
      Sets the matrix 'inv' equal to the inverse of the matrix that was decomposed.
      boolean modifiesA()  
      boolean modifiesB()  
      double quality()  
      boolean setA​(org.ejml.data.FMatrixRMaj A)  
      void setToInverseL​(float[] a)
      Sets the matrix to the inverse using a lower triangular matrix.
      void solve​(org.ejml.data.FMatrixRMaj B, org.ejml.data.FMatrixRMaj 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.
      static void solveLower​(org.ejml.data.FMatrixRMaj L, org.ejml.data.FMatrixRMaj B, org.ejml.data.FMatrixRMaj X, float[] vv)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setA

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

        public double quality()
      • solve

        public void solve​(org.ejml.data.FMatrixRMaj B,
                          org.ejml.data.FMatrixRMaj 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.
      • solveLower

        public static void solveLower​(org.ejml.data.FMatrixRMaj L,
                                      org.ejml.data.FMatrixRMaj B,
                                      org.ejml.data.FMatrixRMaj X,
                                      float[] vv)
      • invert

        public void invert​(org.ejml.data.FMatrixRMaj 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.FMatrixRMaj>
        Overrides:
        invert in class LinearSolverAbstract_FDRM
        Parameters:
        inv - Where the value of the inverse will be stored. Modified.
      • setToInverseL

        public void setToInverseL​(float[] a)
        Sets the matrix to the inverse using a lower triangular matrix.
      • modifiesA

        public boolean modifiesA()
      • modifiesB

        public boolean modifiesB()
      • getDecomposition

        public org.ejml.interfaces.decomposition.CholeskyDecomposition_F32<org.ejml.data.FMatrixRMaj> getDecomposition()