File: VRfRev.html

package info (click to toggle)
libtsp 2r8-1
  • links: PTS
  • area: non-free
  • in suites: slink
  • size: 4,908 kB
  • ctags: 1,409
  • sloc: ansic: 12,525; sh: 1,044; makefile: 164
file content (46 lines) | stat: -rw-r--r-- 810 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
<HTML>
<HEAD>
<TITLE>TSP (libtsp/VR) - VRfRev</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFACD">
<H2>VRfRev</H2>
<HR>
<H4>Routine</H4>
<DL>
<DT>
void VRfRev (const float x[], float y[], int N)
</DL>
<H4>Purpose</H4>
<DL>
<DT>
Reverse the order of the elements of an array
</DL>
<H4>Description</H4>
This routine reverses the order of an array,
<PRE>
  y[i] = x[N-i-1],  for i from 0 to N-1.
</PRE>
<H4>Parameters</H4>
<DL>
<DT>
 -&gt; const float x[]
<DD>
Input array (N elements)
<DT>
&lt;-  float y[]
<DD>
Output array (N elements).  The output array can be the same as the input
array.
<DT>
 -&gt; int N
<DD>
Number of elements in the arrays (may be zero)
</DL>
<H4>Author / revision</H4>
P. Kabal  Copyright (C) 1996
/ Revision 1.3  1996/05/06
<P>
<HR>
Main Index <A HREF="../libtsp.html">libtsp</A>
</BODY>
</HTML>