<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="serif">You guys may have already figured this out -- but
if you want to call the ATLAS cblas routines directly from your
C/C++ code, you can do something like this (an example from my
matrix multiplication code)...<br>
<br>
<br>
<br>
#include <cblas.h><br>
<br>
void mmm_( int *len, double *a, double *b, double *c ){<br>
<br>
int DIM = *len;<br>
double alpha = 1.0;<br>
double beta = 0.0;<br>
<br>
cblas_dgemm(CblasRowMajor,CblasNoTrans,CblasNoTrans,DIM,DIM,DIM,alpha,a,DIM,b,DIM,beta,c,DIM);<br>
<br>
}<br>
<br>
<br>
<br>
</font>
<pre class="moz-signature" cols="72">--
Andrew J. Pounds, Ph.D. (<a class="moz-txt-link-abbreviated" href="mailto:pounds_aj@mercer.edu">pounds_aj@mercer.edu</a>)
Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
<a class="moz-txt-link-freetext" href="http://faculty.mercer.edu/pounds_aj">http://faculty.mercer.edu/pounds_aj</a>
</pre>
</body>
</html>