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 |

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

*Subject*: linear algebra package question*From*: ed at eh3.com (Ed Hill)*Date*: Tue Jul 13 15:44:01 2004*In-reply-to*: <1089746856.5268.17.camel@adler.photodetection.com>*References*: <1089746856.5268.17.camel@adler.photodetection.com>

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/blasqr.ps 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. Ed -- Edward H. Hill III, PhD office: MIT Dept. of EAPS; Rm 54-1424; 77 Massachusetts Ave. Cambridge, MA 02139-4307 emails: eh3 at mit.edu ed at eh3.com URLs: http://web.mit.edu/eh3/ http://eh3.com/ phone: 617-253-0098 fax: 617-253-4464

**Follow-Ups**:**linear algebra package question***From:*adler at stephenadler.com (Stephen Adler)

**References**:**linear algebra package question***From:*adler at stephenadler.com (Stephen Adler)

- Prev by Date:
**linear algebra package question** - Next by Date:
**linear algebra package question** - Previous by thread:
**linear algebra package question** - Next by thread:
**linear algebra package question** - Index(es):

BLU is a member of BostonUserGroups | |

We also thank MIT for the use of their facilities. |

Boston Linux & Unix / webmaster@blu.org