public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* matrix multiplication
@ 2001-12-19 13:20 Matthew J. Doller
  2001-11-27 12:47 ` Matthew J. Doller
  2001-12-19 13:20 ` Dan, Ho-Jin
  0 siblings, 2 replies; 7+ messages in thread
From: Matthew J. Doller @ 2001-12-19 13:20 UTC (permalink / raw)
  To: gsl-discuss

someone correct me if i am wrong, but is there really no way of
multiplying two matrices, or a matrix and a vector with gsl
i know i can go element by element, but i'm looking for something of the
form:

return_matrix = gsl_matrix_mul_matrix_by_matrix ( matrix_one ,
matrix_two );

thanks!
matt

-- 
Matthew J. Doller 
mdoller@wpi.edu
http://www.wpi.edu/~mdoller

^ permalink raw reply	[flat|nested] 7+ messages in thread
* matrix multiplication
@ 2002-07-22  8:42 Daniel T Konkle
  2002-07-24 15:25 ` Brian Gough
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel T Konkle @ 2002-07-22  8:42 UTC (permalink / raw)
  To: gsl-discuss


I need to implement  S = A' * A  where A' is the transpose of A.

Is it possible to do it like this:

gsl_blas_dgemm( CblasTrans, CblasNoTrans, 1.0, A, A, 0.0, S );

or do I need to copy the contents of a into a temporary matrix first

gsl_matrix_memcpy( B, A );
gsl_blas_dgemm( CblasTrans, CblasNoTrans, 1.0, A, B, 0.0, S );

Thanks,
Danny


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-07-24 22:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-19 13:20 matrix multiplication Matthew J. Doller
2001-11-27 12:47 ` Matthew J. Doller
2001-12-19 13:20 ` Dan, Ho-Jin
2001-11-27 12:54   ` Dan, Ho-Jin
2001-12-19 13:20   ` Dan, Ho-Jin
2002-07-22  8:42 Daniel T Konkle
2002-07-24 15:25 ` Brian Gough

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).