
That could be useful, but can I interest you in the more general problem? https://github.com/scipy/scipy/pull/12824 Once the matrix is determined to be tridiagonal in that PR's `solve` function, perhaps the logic could be shared with a `solve_tridiagonal` function. So it might be worth looking at what logic is already in that PR before writing something from scratch. On Sat, Apr 16, 2022, 4:53 PM J Roth <jc.roth73@gmail.com> wrote:
Hi,
I'm a PhD student at UC Berkeley and in my research I often use tridiagonal solvers similar to those found in LAPACK (dgtsv for example). I would like to contribute a function similar to scipy.linalg.solve_triangular that accepts a tridiagonal matrix from the user and calls the appropriate LAPACK function. If this feature seems appropriate for scipy please let me know and I will open a pull request on github.
Cheers! Jack _______________________________________________ SciPy-Dev mailing list -- scipy-dev@python.org To unsubscribe send an email to scipy-dev-leave@python.org https://mail.python.org/mailman3/lists/scipy-dev.python.org/ Member address: mhaberla@calpoly.edu