Go to the source code of this file.
|void||LaTridiagMatFactorize (const LaTridiagMatDouble &A, LaTridiagFactDouble &AF)|
|void||LaLinearSolve (LaTridiagFactDouble &AF, LaGenMatDouble &X, const LaGenMatDouble &B)|
Class for the LU factorization of a tridiagonal matrix.
Note: It is unclear whether the design of this class needs a major overhaul. Do not use this unless you are really sure you understand what this class does.
Calculate the LU factorization of a tridiagonal matrix. Factorizes by
|A||The matrix to be factorized. Will be unchanged.|
|AF||The class where the factorization of A will be stored.|
Solve Ax=b with tridiagonal A and the calculated LU factorization of A as returned by LaTridiagMatFactorize(). Solves by
|AF||The LU factorization of the A matrix|
|X||The matrix that will contain the result afterwards. Size must be correct.|
|B||The right-hand-side of the equation system Ax=b.|