Reading and writing GSL random number generators

Brian Gough bjg@network-theory.co.uk
Mon Jun 2 09:24:00 GMT 2003


Olaf Lenz writes:
 > On Thu, May 29, 2003 at 08:11:38AM -0700, Alan Aspuru-Guzik wrote:
 > > Now that you are at it, wouldn't a gsl_rng_snprintf be useful? In my
 > > case, I am using XML as I/O, and therefore, I would need to write to
 > > a string, and then write the string itself to an XML node.
 > 
 > I think the idea is good and I suppose that I will add it. Probably it
 > would be useful to add an snprinft-function for all GSL data
 > structures, like histograms, vectors, and matrices.

I would prefer that GSL only write to files -- the user can create an
in-memory file with fmemopen().



More information about the Gsl-discuss mailing list