This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: fprintf for blocks/vectors: why the \n?
- From: Gerard Jungman <jungman at lanl dot gov>
- To: Fleur Kelpin <fleur at bio dot vu dot nl>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Wed, 12 Dec 2001 12:31:44 -0700
- Subject: Re: fprintf for blocks/vectors: why the \n?
- Organization: LANL T-3
- References: <Pine.GSO.4.33.0112121604530.18376-100000@monodon>
Fleur Kelpin wrote:
>
> If the automatic \n in block/fprintf_source.c were to go, people could
> provide the format "%g\n" or "%g\t" or anything they like.
>
> This makes it easier to send the output of a time series of vectors to
> e.g. gnuplot because one can also print to columns then, instead of
> the now compulsory elements below each other.
I never noticed this. I agree; the way it is now is not right.
> Or, if backwards compatibility is a concern, maybe provide this in a
> second function with slightly different name?
Brian, what do you think?
--
G. Jungman