This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Reading and writing GSL random number generators
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().