[eigen] Solving a tridiagonal linear system

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

First of all thank you for this fantastic library!

I have a TridiagonalMatrix resulting from a cubic natural spline interpolation problem. Now I have to solve a system with this matrix and a rhs vector, but I don't find any method to do this in an efficient way. Actually the only method which seems to exist is doing A.toDenseMatrix()..., but in this way the optimization due to the tridiagonal pattern gets lost (I suppose). So, how can I do that?

Andrea Arteaga

Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/