LqDecomposition<T>
Models & Types ยท AiDotNet.DecompositionMethods.MatrixDecomposition
Performs LQ decomposition on a matrix, factoring it into a lower triangular matrix L and an orthogonal matrix Q.
Inheritance: MatrixDecompositionBase<T> โ LqDecomposition<T>
For Beginners
LQ decomposition breaks down a matrix A into two components: L (a lower triangular matrix with values only on and below the diagonal) and Q (an orthogonal matrix with columns that are perpendicular to each other). This decomposition is useful for solving linear systems, least squares problems, and other numerical linear algebra tasks.
How It Works
LQ decomposition factors a matrix A into the product A = LQ, where L is a lower triangular matrix and Q is an orthogonal matrix. This decomposition is the transpose version of QR decomposition and is particularly useful when working with matrices that have more columns than rows.
Real-world applications:
- Solving underdetermined systems of equations
- Least squares problems with wide matrices
- Numerical stability in various computations
Constructors
| Constructor | Summary |
|---|---|
LqDecomposition(Matrix<T> matrix, LqAlgorithmType algorithm) |
Initializes a new instance of the LqDecomposition class and performs the decomposition. |
Properties
| Property | Summary |
|---|---|
Matrix<T> L { get; set; } |
Gets the lower triangular matrix L from the decomposition. |
Matrix<T> Q { get; set; } |
Gets the orthogonal matrix Q from the decomposition. |
Methods
| Method | Summary |
|---|---|
Vector<T> Solve(Vector<T> b) |
Solves the linear system Ax = b using the LQ decomposition. |