Reading and writing GSL random number generators

Brian Gough bjg@network-theory.co.uk
Tue Jun 3 12:31:00 GMT 2003


Alan Aspuru-Guzik writes:
 > I know that if I don't implement things into the GSL myself, I
 > shouldn't open my mouth <grin>, but nevertheless, eventually, I
 > would like for that feature to be added (the gsl_*_snprintf)
 > functions.  What is wrong with this? Would this bloat the library
 > too much?

As a general rule GSL is numerical and shouldn't do I/O or formatting,
so the existing I/O functions were already something of an exception.

If you make the gsl object visible in a higher-level language
(e.g. vector through python buffer object) then it should be possible
to use all the standard modules for xml/persistence in that language.
This is what I would recommend, rather than doing everything in C.

-- 
Brian



More information about the Gsl-discuss mailing list