public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* Bug???
@ 2003-12-07 15:08 Przemyslaw Sliwa
  2003-12-08 11:29 ` Bug??? Brian Gough
  0 siblings, 1 reply; 2+ messages in thread
From: Przemyslaw Sliwa @ 2003-12-07 15:08 UTC (permalink / raw)
  To: gsl-discuss

I guess I have found a bug in the gsl:

Look at definition:

Function: int gsl_blas_dtrmv (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA,
CBLAS_DIAG_t Diag, const gsl_matrix * A, gsl_vector * x).

And additionaly the manual:

These functions compute the matrix-vector product x =\alpha op(A) x for
the triangular matrix A, where op(A) = A, A^T, A^H for TransA =
CblasNoTrans, CblasTrans, CblasConjTrans. When Uplo is CblasUpper then the
upper triangle of A is used, and when Uplo is CblasLower then the lower
triangle of A is used. If Diag is CblasNonUnit then the diagonal of the
matrix is used, but if Diag is CblasUnit then the diagonal elements of the
matrix A are taken as unity and are not referenced.

I do not see the \alpha factor in the definition of this funcion.

Do I miss something?

Cheers,

PShem


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

* Re: Bug???
  2003-12-07 15:08 Bug??? Przemyslaw Sliwa
@ 2003-12-08 11:29 ` Brian Gough
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Gough @ 2003-12-08 11:29 UTC (permalink / raw)
  To: Przemyslaw Sliwa; +Cc: gsl-discuss

Przemyslaw Sliwa writes:
 > I guess I have found a bug in the gsl:
 > 
 > Look at definition:
 > 
 > Function: int gsl_blas_dtrmv (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA,
 > CBLAS_DIAG_t Diag, const gsl_matrix * A, gsl_vector * x).
 > 
 > And additionaly the manual:
 > 
 > These functions compute the matrix-vector product x =\alpha op(A) x for

The alpha in the documentation is spurious.  Cut and paste error from
dgemv I should think.  I'll fix it.

Thanks,

-- 
Brian Gough

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

end of thread, other threads:[~2003-12-08 11:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-07 15:08 Bug??? Przemyslaw Sliwa
2003-12-08 11:29 ` Bug??? 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).