Quoting Ivan Adzhubey <[EMAIL PROTECTED]>:
What is the best way to read vector/matrix data from a file? The
...
i.e., one vector per line, comma-separated vector elements. The idea is to read the whole block of data in and then loop over it (creating vector views?) doing calculations.
Hi Ivan, You are right that GSL has a very minimal I/O. It isn't so much for reading data in <your> format, as providing a quick way to dump stuff to file and then read it back. The idea is to use routines like getline(), strtod(), strchr(), scanf() and so on to get the job done. James ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
