This is the mail archive of the
gsl-discuss@sourceware.cygnus.com
mailing list for the GSL project.
blas question
- To: "gsl-discuss at sourceware dot cygnus dot com" <gsl-discuss at sourceware dot cygnus dot com>
- Subject: blas question
- From: "Robert H. Miller" <rhmiller at engin dot umich dot edu>
- Date: Mon, 20 Dec 1999 16:08:42 -0500
- Organization: University of Michigan
- Reply-To: rhmiller at engin dot umich dot edu
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