[Top][All Lists]

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

Re: [Help-gsl] precision of gsl_complex members

From: Brian Gough
Subject: Re: [Help-gsl] precision of gsl_complex members
Date: Thu, 4 May 2006 16:29:44 +0100

Carsten Fortmann writes:
 > How can I change the precision of the real and imaginary part of
 > a complex number represented in a gsl_complex struct from double to long 
 > double?


There is an undocumented type gsl_complex_long_double -- does that

If you need long double math functions you'll need to make copies of
the complex/math.c functions and modify them accordingly.  Generally
GSL only supports double precision for actual math routines.

best regards,

Brian Gough

Network Theory Ltd,
Publishing the GSL Manual -

reply via email to

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