*To*: debian-user@lists.debian.org*Subject*: Re: Math Package to Solve Linear Equations?*From*: Kamaraju S Kusumanchi <kamaraju@bluebottle.com>*Date*: Fri, 05 Oct 2007 21:45:11 -0400*Message-id*: <fe6op1$vsh$1@sea.gmane.org>*References*: <4706DAB9.2040304@tomgeorge.info>

Thomas H. George wrote: > I'm feeling stupid. I used to have a math package which inverted > matrices to solve systems of linear equations - i.e. enter the matrix > and the y values and the program inverts the matrix and reports the x > values. I know how to do it manually but it is laborious for large > matrices. Perhaps Openoffice.calc/solver does this but it is not clear > to me how to enter data for solver to do this. apt-cache search matrix > |grep inversion doesn't turn up anything. > > Would someone please beat me over the head and point me to a simple > package to do this job? Libraries (to call from C, C++, Fortran 90 codes): Petsc - pretty much everyone in the numerical analysis community rely on this for solving large scale linear problems. Has good parallelization (MPI) support, lot of sparse, direct solvers etc., lapack95 - Good if you are using fortran as your programming language. Has been around for sometime. Code is well tested but does not have as many routines as petsc. No parallel solvers or sparse solvers AFAIK. IMSL - proprietary. Software suites: Matlab - proprietary, comes with a good GUI, lots of routines to plot graphs, contours etc., contains lot of sparse solvers. Octave - Use versions > 2.9.12 for better experience. Older versions are incompatible with newer versions. Does not have a GUI provided by the upstream, plotting capabilities are kind of limited. Does not have that many sparse solvers. But if it works, it does the job well and the code is actively developed. It integrates well with Linux (for example it uses gnuplot for plotting, lapack for solving system of matrices etc.,). My recommendation is to go either with octave or with petsc depending on what you are looking for. hth raju -- Kamaraju S Kusumanchi http://www.people.cornell.edu/pages/kk288/ http://malayamaarutham.blogspot.com/

**Follow-Ups**:**Re: Math Package to Solve Linear Equations?***From:*Miles Fidelman <mfidelman@meetinghouse.net>

**Re: Math Package to Solve Linear Equations?***From:*Ólafur Jens Sigurðsson <ojsbug@gmail.com>

**References**:**Math Package to Solve Linear Equations?***From:*"Thomas H. George" <lists@tomgeorge.info>

- Prev by Date:
**Re: how to find out IP address used by router?** - Next by Date:
**Re: Math Package to Solve Linear Equations?** - Previous by thread:
**Re: Math Package to Solve Linear Equations?** - Next by thread:
**Re: Math Package to Solve Linear Equations?** - Index(es):