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

Class Cholesky



  • public class Cholesky
    extends CholeskyCommon
    This is an implementation of Cholesky that processes internal submatrices as blocks. This is done to reduce the number of cache issues.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static ICholeskyResult decompose(AMatrix mat)
      Computes the Cholesky Decomposition (A = LU) of a matrix, taking default block width = 60.
      static ICholeskyResult decompose(AMatrix mat, int blockWidth)
      Computes the Cholesky LDU Decomposition (A = LDU) of a matrix.
      • Methods inherited from class java.lang.Object

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

      • decompose

        public static ICholeskyResult decompose(AMatrix mat)

        Computes the Cholesky Decomposition (A = LU) of a matrix, taking default block width = 60.

        If the matrix is not positive definite then this function will return null since it can't complete its computations. Not all errors will be found. This is an efficient way to check for positive definiteness.

        Parameters:
        mat - A symmetric positive definite matrix
        Returns:
        A Cholesky Decomposition Result
      • decompose

        public static ICholeskyResult decompose(AMatrix mat,
                                                int blockWidth)

        Computes the Cholesky LDU Decomposition (A = LDU) of a matrix.

        If the matrix is not positive definite then this function will return null since it can't complete its computations. Not all errors will be found. This is an efficient way to check for positive definiteness.

        Parameters:
        mat - A symmetric positive definite matrix
        blockWidth - The width of a block.
        Returns:
        ICholeskyResult if decomposition is successful, null otherwise.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.