Function dzahui::solvers::matrix_solver::solve_by_thomas
source · Expand description
General Information
A function that solves a linear problem of the form Ax=b via Thomas (tridiagonal) method in which A is a square matrix, b is a known vector and x is to be found.
Parameters
matrix
- A square matrix represented by an Array2.b
- A vector result from matrix multiplication Ax = b represented by an Array1.