void FLdWriteData (const char Fname[], const double x[], int N)


Write a double array in text form to a file


This routine writes double data to a named file. The float data is written to the file as text, with one data value to a line.

The intended use of this routine is to write data to a file in a form that can be edited or imported into other programs. An example would be to write data that can be easily imported into MATLAB, using the MATLAB load command.


-> const char Fname[]
File name for the data
-> const double x[]
Array of N doubles
-> int N
Number of elements in x

Author / revision

P. Kabal / Revision 1.3 2005/02/01

Main Index libtsp