This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: complex numbers in libguile



>  > What's wrong with converting between that and Guile's normal complex
>  > number representation?  That is, to convert a gsl complex number to a
>  > Scheme value, call scm_makdbl; to do the reverse, do something like
>  > this:
> 
> I didn't mean that there might be anything wrong, I just didn't know
> what I have to look for in libguile source ... 'grep complex *.c'
> and the like wasn't of much help ...

Gotcha --- in other words, this is another "lack of documentation"
problem...  :(