[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tridiagonal matrix solver
From: |
Juan Pablo Carbajal |
Subject: |
Re: tridiagonal matrix solver |
Date: |
Fri, 7 Oct 2011 17:08:42 +0200 |
On Fri, Oct 7, 2011 at 8:40 AM, asha g <address@hidden> wrote:
> Can some one point me in the direction of a fast tridiagonal matrix solver
> in octave -
> Thanks
> Asha G
>
>
>
>
>
>
>
>
> Goals too clearly defined can become blinkers.
> Mary Catherine Bateson
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
>
>
In the same level of details of your question:
Use sparse representation and inv
> M = sparse(N,N);
...
**here you assemble your matrix**
...
> x = inv(M)*r
There is also gmres if your inverse is not sparse anymore.
--
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
http://ailab.ifi.uzh.ch/carbajal/