[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] How to use ordinary function
From: |
Fred Perras |
Subject: |
Re: [Help-gsl] How to use ordinary function |
Date: |
Thu, 14 Dec 2017 13:41:44 -0600 |
Hi Sergey,
Yes, although I wouldn't advise it. I have tried these out and they are
much much slower than the math.h functions which have been heavily
optimized and use different algorithms and tables for various situations
(at least I have heard).
Fred
On Thu, Dec 14, 2017 at 1:35 PM, Sergey Shcherbina <address@hidden> wrote:
>
> Hi!
>
> Is possible to use the simple function in GSL code - gsl_sin(x) or
> gsl_cos(x) for
>
> ordinary calculation of it instead of sin(x) and cos(x) without #include
> <math.h>?
>
> Regards,
> Sergey.
>
>
>
>