-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
Description
I am trying to solve a sparse linear system with Vectorz, but it seems to lack some basic algorithms to do it efficiently.
I want to solve Ku=F, where K is a sparse matrix and F a dense vector.
The classic way to solve this system is to get a decomposition of K, let's say K=LU, and then solve the easy triangular problems Ly=F and Uu=y.
I am not sure the implemented factorizations in Vectorz are optimized for sparse matrix (it seems the implementations are coming from a dense matrix manipulation library), but most importantly Vectorz seems to lack forward and backward substitution algorithms to solve triangular problems.