examples with clapack for a beginner

Post here if you have a question about LAPACK or ScaLAPACK algorithm or data format

examples with clapack for a beginner

Postby jimbakl » Sat Nov 19, 2011 7:25 am

Hello everyone. Im newbie ...better this is my 1st touch at this of programming.
after a try of a week to install the library at my visual studio 2010 its time to learn about this library.
This library is my nightmare the last days. Because despite i know matlab i must use C to solve my problems...
I search all over the web and i didn't found anything that is helpful for my situation...
At my problems i use to have the below linear algebra things full of matrices.
To solve linear equations:
A' * x =b ->
matrix transpose;
matrix inverse;
matrices multiplication;
and other...

Could you send me a link? a doc? or something else with understandable-user-friendly examples by a beginner like me.......

Also why there so many algorithms for inverse() ?? for example.. i found the last example http://www.nag.co.uk/numeric/FL/manual/pdf/F07/f07ajf.pdf and the result is different from matlab's inv() ,
why this is happened ??
This is for all the functions???
Posts: 3
Joined: Fri Nov 18, 2011 3:55 pm

Re: examples with clapack for a beginner

Postby admin » Tue Nov 29, 2011 12:30 am

A' * x =b -> DGESV: LAPACK
matrix inverse; > DGETRI: LAPACK
matrices multiplication; DGEMM: BLAS

http://www.nag.co.uk/lapack-ex/ is a good source of Fortran example,
and of course you have the LAPACK User guide available online at http://www.netlib.org/lapack/lug/

To call Fortran Routine from C
http://www.fkf.mpg.de/edv/docs/intel_co ... nguage.htm

For example, there is also
http://software.intel.com/sites/product ... /index.htm
Click on the routine name and the kind of example you are looking for DGESV C Example: http://software.intel.com/sites/product ... v_ex.c.htm

Site Admin
Posts: 610
Joined: Wed Dec 08, 2004 7:07 pm

Re: examples with clapack for a beginner

Postby jimbakl » Fri Dec 09, 2011 12:47 pm

specifically i want to use clapack for Linear programming problems, and mainly Simplex, Revised Simplex Method etc , like these but with huge matrices.. You advise me to use this library ? or something else..
What is your opinion ???
Thanks you in advance
Posts: 3
Joined: Fri Nov 18, 2011 3:55 pm

Return to Algorithm / Data

Who is online

Users browsing this forum: No registered users and 2 guests