[Gsll-devel] chebyshev.lisp/coefficients returns pointer. How to get to the vector?
Liam Healy
lhealy at common-lisp.net
Mon Apr 26 14:14:35 UTC 2010
Thanks for the report. This is fixed now; you will need to do a fresh pull
of both GSD and GSLL. Also I added docstrings for #'coefficient, #'size,
and #'order.
Liam
On Tue, Apr 13, 2010 at 10:21 AM, Mirko Vukovic <mirko.vukovic at gmail.com> wrote:
> Hello,
>
> According to the documentation, `gsl_cheb_coeffs' returns a pointer to
> the vector with coefficients:
>
> (http://www.gnu.org/software/gsl/manual/html_node/Auxiliary-Functions-for-Chebyshev-Series.html)
>
> The corresponding gsll functions `coefficients' declares the c-return
> as sizet (I am not sure if that is correct), and does not return a
> vector but an integer.
>
> GSL> (coefficients (make-chebyshev 40 'chebyshev-step 0d0 1d0))
> 6543008
> GSL>
>
> I am assuming it is the pointer to the vector. I could not figure out
> how to make it return the actual coefficients vector.
>
> Thanks,
>
> Mirko
More information about the gsll-devel
mailing list