[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Help-gsl] Matrix multiplcation
From: |
Martell, Larry |
Subject: |
RE: [Help-gsl] Matrix multiplcation |
Date: |
Mon, 21 Mar 2005 09:40:47 -0700 |
There is a matrix multiply function in oper_source.c, but that
function does a straight element by element multiply, e.g.:
c(n,p) = a(n,p) * b(n,p)
For a true matrix multiply, i.e.:
c(n,p) = a(n,1) * b(1,p) + a(n,2) * b(2,p) + ... + a(n,m) * b(m,p)
you need to look at the basic linear algebra functions (BLAS).
The matrix - matrix routines are BLAS Level 3. Ssee the GSL CBLAS
example in the documentation.
HTH,
-larry
________________________________
From: address@hidden on behalf of charmi Mohamed Ali
Sent: Mon 3/21/2005 9:29 AM
To: address@hidden
Subject: [Help-gsl] Matrix multiplcation
Hi,
I'm a GSL Beginner.
I can't find a function to muliplicate 2 matrix!!
Thanks,
CHARMI Mohamed Ali
Student in Computer Sc. & Image processing
ENSI, University of Manouba
Phone: +21622716308, +33625449442
Website: www.chermi.tk
_______________________________________________
Help-gsl mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-gsl