Documentation of 'mikera.matrixx.decompose.impl.chol.CholeskyHelper' Java class
CholeskyHelper
mikera.matrixx.decompose.impl.chol

Class CholeskyHelper



  • public class CholeskyHelper
    extends java.lang.Object
    A specialized Cholesky decomposition algorithm that is designed to help out CholeskyDecompositionBlock perform its calculations. While decomposing the matrix it will modify its internal lower triangular matrix and the original that is being modified.
    • Constructor Summary

      Constructors 
      Constructor and Description
      CholeskyHelper(int widthMax)
      Creates a CholeksyDecomposition capable of decomposing a matrix that is n by n, where n is the width.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean decompose(AMatrix mat, int indexStart, int n)
      Decomposes a submatrix.
      AMatrix getL()
      Returns L matrix from the decomposition.
      L*LT=A
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CholeskyHelper

        public CholeskyHelper(int widthMax)
        Creates a CholeksyDecomposition capable of decomposing a matrix that is n by n, where n is the width.
        Parameters:
        widthMax - The maximum width of a matrix that can be processed.
    • Method Detail

      • decompose

        public boolean decompose(AMatrix mat,
                                 int indexStart,
                                 int n)
        Decomposes a submatrix. The results are written to the submatrix and to its internal matrix L.
        Parameters:
        mat - A matrix which has a submatrix that needs to be inverted
        indexStart - the first index of the submatrix
        n - The width of the submatrix that is to be inverted.
        Returns:
        True if it was able to finish the decomposition.
      • getL

        public AMatrix getL()
        Returns L matrix from the decomposition.
        L*LT=A
        Returns:
        A lower triangular matrix.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.