blas question

Robert H. Miller rhmiller@engin.umich.edu
Mon Dec 20 13:07:00 GMT 1999


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


More information about the Gsl-discuss mailing list