would like to see a sample/example program

Open discussion regarding features, bugs, issues, vendors, etc.

would like to see a sample/example program

Postby cts5678 » Fri Feb 04, 2005 7:09 pm

Hi all,

I'm new to LAPACK and I haven't been able thus far to locate an example or sample program (preferably in C although I guess FORTRAN would work) to do Gaussian elimination on an m x n matrix. Can any of you help? If it's in the doc, if you could just point me in the general direction of the right place in the doc that would work too. I'm was guessing I need to call SGESV, then I noticed SGESV is only for n x n matrices.


Posts: 1
Joined: Wed Jan 26, 2005 9:38 am

Postby Julien Langou » Sat Feb 05, 2005 1:06 am


To perform a Gaussian elimination on a rectangular matrices, use xGETRF.

I cleaned a bit one of my code for the purpose. Available at:
http://www.cs.utk.edu/~langou/lapack-su ... 678/test.c

Julien Langou
Julien Langou
Posts: 835
Joined: Thu Dec 09, 2004 12:32 pm
Location: Denver, CO, USA

Return to User Discussion

Who is online

Users browsing this forum: No registered users and 4 guests