GaussianEliminationSolverSolveTriDiagonal(IMatrixDouble, Double, Double, Object) Method |
Solves a system where the matrix a is tri diagonal, i.e. has one lower and one upper band.
The method is non-destructive, i.e. both matrix m and vector a are not changed.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void SolveTriDiagonal(
IMatrix<double> A,
double[] a,
double[] x,
ref Object?? tempStorage
)
Parameters
- A IMatrixDouble
- Tridiagonal matrix.
- a Double
- Right part of the solution (remains unmodified).
- x Double
- Vector to store the result, i.e. the solution to the problem A x = a.
- tempStorage Object
- Object that accomodates temporary storage. Can be reused in repeated calls.
Remarks References:
[1] Engeln-Müllges, Numerik-Algorithmen, 10th ed., page 165
See Also