[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] BLAS - identical source and destination arguments OK?
From: |
Brian Gough |
Subject: |
Re: [Help-gsl] BLAS - identical source and destination arguments OK? |
Date: |
Mon, 16 Feb 2009 17:02:30 +0000 |
User-agent: |
Wanderlust/2.14.0 (Africa) Emacs/22.2 Mule/5.0 (SAKAKI) |
At Fri, 13 Feb 2009 22:08:08 +0100,
Philipp Klaus Krause wrote:
>
> Will the following work a intended or will I have to create another
> gsl_vector for temporary storage?
>
> gsl_blas_dgemv(CblasNoTrans, 1.0, data->eigenvectors, data->primary,
> 0.0, data->primary);
You will need to use a temporary vector. Arguments to BLAS functions
must be independent -- this is true of BLAS in general, not just GSL.
--
Brian Gough
Support freedom by joining the FSF!
http://www.fsf.org/associate/support_freedom/join_fsf?referrer=37