This is the mail archive of the gsl-discuss@sourceware.cygnus.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

blas question


I am attempting to use the cblas via gsl.

int  gsl_blas_dgemm (CBLAS_TRANSPOSE_t TransA,
                     CBLAS_TRANSPOSE_t TransB,
                     int K,
                     double alpha,
                     const gsl_matrix * A,
                     const gsl_matrix * B,
                     double beta,
                     gsl_matrix * C);

and
int  gsl_blas_dgemv (CBLAS_TRANSPOSE_t TransA,
                     double alpha,
                     const gsl_matrix * A,
                     const gsl_vector * X,
                     double beta,
                     gsl_vector * Y);

I am having a hard time figureing out what the CBLAS_TRANSPOSE_t TransA
is exactly.  I assume it is just a flag to indicate transpose?

enum CBLAS_TRANSPOSE  { CblasNoTrans=111,  CblasTrans=112,  
CblasConjTrans=113 };

So if I put a zero in the first arg I should just get
y<-alpha A x + beta y??


Thanks
Robert Miller
-- 
---------------------------------------------------------------------
Robert H. Miller				Office: (734)764-6573
University of Michigan	Aerospace Engineering	Lab:	(734)764-5740
1320 Beal FXB 2022	Ann Arbor, MI 48109	Fax: 	(734)763-0578

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]