Documentation of 'medusa.georgios.Distance_Geometry.CholeskyDecomposition' Java class
CholeskyDecomposition
medusa.georgios.Distance_Geometry

Class CholeskyDecomposition

  • All Implemented Interfaces:
    java.io.Serializable


    public class CholeskyDecomposition
    extends java.lang.Object
    implements java.io.Serializable
    Cholesky Decomposition.

    For a symmetric, positive definite matrix A, the Cholesky decomposition is an lower triangular matrix L so that A = L*L'.

    If the matrix is not symmetric or positive definite, the constructor returns a partial decomposition and sets an internal flag that may be queried by the isSPD() method.

    See Also:
    Serialized Form
    • Constructor Detail

      • CholeskyDecomposition

        public CholeskyDecomposition(Distance_Geometry_Matrix Arg)
        Cholesky algorithm for symmetric and positive definite matrix.
        Parameters:
        A - Square, symmetric matrix.
    • Method Detail

      • isSPD

        public boolean isSPD()
        Is the matrix symmetric and positive definite?
        Returns:
        true if A is symmetric and positive definite.
      • solve

        public Distance_Geometry_Matrix solve(Distance_Geometry_Matrix B)
        Solve A*X = B
        Parameters:
        B - A Distance_Geometry_Matrix with as many rows as A and any number of columns.
        Returns:
        X so that L*L'*X = B
        Throws:
        java.lang.IllegalArgumentException - Distance_Geometry_Matrix row dimensions must agree.
        java.lang.RuntimeException - Distance_Geometry_Matrix is not symmetric positive definite.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.