Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
Aren't the xDOT routines a vector dot product who's result is a scaler value? As in for (int i=0;i<VectSize;i++) a += b[i]*c[i]; ? Steve. On Tue, 2004-07-13 at 15:43, Ed Hill wrote: > 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
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |