pub fn solve_tridiagonal(
a: &[f64],
b: &[f64],
c: &[f64],
d: &[f64],
) -> Result<Vec<f64>, ErrorsJSL>Expand description
Solves the tridiagonal system with sub-diagonal a, diagonal b, super-diagonal c
(a[0] and c[n−1] unused) by the Thomas algorithm.