File: FLfWriteData.html

package info (click to toggle)
libtsp 3r0-1
  • links: PTS
  • area: non-free
  • in suites: potato, woody
  • size: 5,096 kB
  • ctags: 1,798
  • sloc: ansic: 14,464; sh: 1,217; makefile: 182
file content (49 lines) | stat: -rw-r--r-- 1,126 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<HTML>
<HEAD>
<TITLE>TSP (libtsp/FL) - FLfWriteData</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFACD">
<H2>FLfWriteData</H2>
<HR>
<H4>Routine</H4>
<DL>
<DT>
void FLfWriteData (const char Fname[], const float x[], int N)
</DL>
<H4>Purpose</H4>
<DL>
<DT>
Write a float array in text form to a file
</DL>
<H4>Description</H4>
This routine writes float data to a named file.  The float data is written to
the file as text, with one data value to a line.
<P>
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.
<H4>Parameters</H4>
<DL>
<DT>
 -&gt; const char Fname[]
<DD>
File name for the data
<DT>
 -&gt; const float x[]
<DD>
Array of N floats
<DT>
 -&gt; int N
<DD>
Number of elements in x
</DL>
<H4>Author / revision</H4>
P. Kabal  Copyright (C) 1997
/ Revision 1.7  1997/10/14
<H4>See Also</H4>
<A HREF="FLfReadData.html">FLfReadData</A>
<P>
<HR>
Main Index <A HREF="../libtsp.html">libtsp</A>
</BODY>
</HTML>