Re: [Help-gsl] Use gsl_vector_fprintf for multiple columns?

From:

Brian Gough

Subject:

Re: [Help-gsl] Use gsl_vector_fprintf for multiple columns?

Date:

Fri, 18 Dec 2009 21:30:27 +0000

User-agent:

Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI)

At Wed, 16 Dec 2009 10:00:40 -0800,
Joseph Smidt wrote:
> Is this possible to do with tools from gsl such as
> gsl_vector_fprintf and gsl_vector_fscanf or some other similar gsl
> tool? Thanks.
There isn't anything that will specifically read a set of columns into
a set of vectors. There would be other ways to do it, like reading
the data as matrix and using the matrix columns as vectors, but it may
be simpler just to write a small loop with fscanf that does exactly
what you want.
--
Brian Gough
GNU Scientific Library -
http://www.gnu.org/software/gsl/