Class LDDecomposition


  • public class LDDecomposition
    extends Object
    Represents a L D LT decomposition of a shifted symmetric tridiagonal matrix T. That is,
    (T - σ I) = L D LT
    where T is a symmetric tridiagonal matrix, σ is a shift for this factorization, L is a unit lower triangular matrix, and D is a diagonal matrix.
    • Constructor Detail

      • LDDecomposition

        public LDDecomposition​(Vector D,
                               Vector L,
                               double sigma)
        Parameters:
        D -
        L -
        sigma -
    • Method Detail

      • size

        public int size()
      • L

        public Vector L()
        The sub-diagonal entries of the unit lower triangular matrix L.
        Returns:
        the sub-diagonal of L
      • D

        public Vector D()
        The diagonal entries of the diagonal matrix D.
        Returns:
        the diagonal of D
      • sigma

        public double sigma()