[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gsl] Scalars are required to be double for all gsl_*_scale, gsl
Re: [Bug-gsl] Scalars are required to be double for all gsl_*_scale, gsl_*_add_constant regardless of element type
Sat, 15 Nov 2008 10:03:04 -0500
On Tue, Nov 11, 2008 at 9:57 AM, Brian Gough <address@hidden> wrote:
> At Sat, 8 Nov 2008 17:10:37 -0500,
> Liam Healy wrote:
>> I checked a few of the .h files and they all seem this way; actual
>> tests on the different kinds of vectors and matrices has the effect
>> that the scalar is zero (i.e., for _add_constant the vector/matrix is
>> returned the same as supplied, for _const, the result is zero.).
> Can you give some specific examples where there's a problem? I can see
> that adding a double between 0 and 1 will not have any effect for
> integer vectors, but it should work for values larger than 1.
> Brian Gough
> GNU Scientific Library -
So am I to infer that the use of doubles for the scalar regardless of
the element type of the vector or matrix is intentional?