bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gsl] No gsl_complex_float_math.h


From: Alexander McPhail
Subject: Re: [Bug-gsl] No gsl_complex_float_math.h
Date: Thu, 8 Jul 2010 22:10:32 +1200

return float_r;

On 8 July 2010 22:03, Alexander McPhail <address@hidden>wrote:

> gsl_complex_float complex_float_math_fun(gsl_complex (*cf)(gsl_complex),
> gsl_complex_float a)
> {
>   gsl_complex c;
>   gsl_complex r;
>
>   gsl_complex_float float_r;
>
>   c.dat[0] = a.dat[0];
>   c.dat[1] = a.dat[1];
>
>   r = (*cf)(c);
>
>   float_r.dat[0] = r.dat[0];
>   float_r.dat[1] = r.dat[1];
>
>   return r;
>
> }
>
> On 8 July 2010 21:27, Brian Gough <address@hidden> wrote:
>
>> At Wed, 7 Jul 2010 17:34:21 -0700,
>> Xuebin Wu wrote:
>> > I didn't find them either. But if I were you, I would like to wrap the
>> > function gsl_complex_add with the gsl_complex_float type..Simply convert
>> the
>> > datatype manually will do the trick.
>> >
>> > I think the gsl_complex_float type are for the compatibility with BLAS
>> > routines..
>>
>> That is correct, the complex float types are only for BLAS/vectors.
>>
>>
>
>
> --
> ---
> yolar et elver.
> ---
>
> DISCLAIMER
>
> This transmission contains information that may be confidential. It is
> intended for the named addressee only. Unless you are the named addressee
> you may not copy or use it or disclose it to anyone else.
>
>


-- 
---
yolar et elver.
---

DISCLAIMER

This transmission contains information that may be confidential. It is
intended for the named addressee only. Unless you are the named addressee
you may not copy or use it or disclose it to anyone else.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]