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?

Hello,

There is an undocumented type gsl_complex_long_double -- does that
help?

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 - http://www.network-theory.co.uk/gsl/manual/


_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to