Where can I find BLAS example code (in Fortran)?

Posted by Feynman on Stack Overflow See other posts from Stack Overflow or by Feynman
Published on 2011-01-09T05:47:28Z Indexed on 2011/01/09 5:53 UTC
Read the original article Hit count: 226

Filed under:
|
|
|
|

I have been searching for decent documentation on blas, and I have found some 315 pages of dense material that ctrl-f does not work on. It provides all the information regarding what input arguments the routines take, but there are a LOT of input arguments and I could really use some example code. I am unable to locate any. I know there has to be some or no one would be able to use these libraries!

Specifically, I use ATLAS installed via macports on a mac osx 10.5.8 and I use gfortran from gcc 4.4 (also installed via macports). I am coding in Fortran 90. I am still quite new to Fortran, but I have a fair amount of experience with mathematica, matlab, perl, and shell scripting.

I would like to be able to initialize and multiply a dense complex vector by a dense symmetric (but not hermitian) complex matrix. The elements of the matrix are defined through a mathematical function of the indices--call it f(i,j).

Could anyone provide some code or a link to some code?

© Stack Overflow or respective owner

Related posts about vector

Related posts about matrix