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*: adler at stephenadler.com (Stephen Adler)*Date*: Tue Jul 13 16:07:01 2004*In-reply-to*: <1089747784.25332.773.camel@localhost.localdomain>*References*: <1089746856.5268.17.camel@adler.photodetection.com> <1089747784.25332.773.camel@localhost.localdomain>

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

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

**linear algebra package question***From:*ed at eh3.com (Ed Hill)

- Prev by Date:
**linear algebra package question** - Next by Date:
**Open Source CMS Integrator(s)?** - Previous by thread:
**linear algebra package question** - Next by thread:
**Open Source CMS Integrator(s)?** - Index(es):

BLU is a member of BostonUserGroups | |

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

Boston Linux & Unix / webmaster@blu.org