# SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.algebra.linear.matrix.doubles.factorization.eigen.mr3

## Class LDDecomposition

• java.lang.Object
• com.numericalmethod.suanshu.algebra.linear.matrix.doubles.factorization.eigen.mr3.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 Summary

Constructors
Constructor and Description
LDDecomposition(Vector D, Vector L, double sigma)
• ### Method Summary

All Methods
Modifier and Type Method and Description
Vector D()
The diagonal entries of the diagonal matrix D.
Vector L()
The sub-diagonal entries of the unit lower triangular matrix L.
Vector LD()
Vector LLD()
double sigma()
int size()
• ### Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
• ### 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()
• #### LD

public Vector LD()
• #### LLD

public Vector LLD()