This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fprintf for blocks/vectors: why the \n?


Hi all,

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.

Or, if backwards compatibility is a concern, maybe provide this in a
second function with slightly different name?

The way things are now, I find I am writing my own for loops for printing,
whereas gsl tries to provide this functionality.

Greetings,
Fleur Kelpin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]