Hi,

GSL doesn't provide this functionality. I probably have some code somewhere that does this I will have a look. In the mean time you could start with this,
http://www.daniweb.com/forums/thread96707.html

Cheers,

Dan

On 24 Jan 2009, at 21:23, Ivan Pulido wrote:

Hey, I have a quick question, sorry if it's to "noob", but Im really new to
GSL and I've checked the manual and couldnt find the answer.

What I want to do is reading a plain text file with data in the format

x1 y1

x2 y2

... and such

So my doubt is how to read the first colum (xdata) and save it to a vector xdata[] and the same with the second column and ydata[]. Is there a way to do this with gsl_vector_fscanf function? I'd appreciate some help on this,
or at least some hints on what should I look for, thanks in advance.
_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl



_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to