Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

linear algebra package question

On Tue, 2004-07-13 at 15:27, Stephen Adler wrote:
> Guys,
> I'm thinking of using the gsl-blas routines provided by
> gsl to do some basic linear algebra stuff. Now, I want to
> do something really simple, do a scaler multiply of 2 vectors,
> (i.e.
>    for (int i=0;i<VecSize;i++) c[i] = a[i]*b[i]
> )

Hi Stephen,

Thats a standard BLAS xDOT() function where "x" depends on the type of
your arrays (most likely you're using "DDOT" for doubles or "SDOT" for
single precision reals).

On most Linux systems, you can easily install a "blas" package and then
view the documentation for it using something like the following:

  ggv /usr/share/doc/blas-3.0/

which works nicely on Fedora Core 2.  The BLAS libs are often highly
optimized for particular chips and theres plenty of documentation for
them on the web.


Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at                ed at
phone:   617-253-0098
fax:     617-253-4464

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /