What about setting chebyshev coefficients directly

Brian Gough bjg@network-theory.co.uk
Sun Feb 2 23:13:00 GMT 2003


Achim Gädke writes:
 > I will have to change the allocation from malloc to calloc in 
 > gsl_cheb_alloc, in order to provide usefull initial values.

The GSL convention is to use malloc in alloc functions.  So the way to
deal with this is to have the init function take an array of the
correct size, to avoid uninitialized entries.



More information about the Gsl-discuss mailing list