fa.bianp.net

solve triangular matrices using scipy.linalg

Category: scipy, Tecnologí­a

For some time now I've been missing a function in scipy that exploits the triangular structure of a matrix to efficiently solve the associated system, so I decided to implement it by binding the LAPACK method "trtrs", which also checks for singularities and is capable handling several right-hand sides. Contrary …