VRfRev


Routine

void VRfRev (const float x[], float y[], int N)

Purpose

Reverse the order of the elements of an array

Description

This routine reverses the order of an array,
  y[i] = x[N-i-1],  for i from 0 to N-1.

Parameters

-> const float x[]
Input array (N elements)
<- float y[]
Output array (N elements). The output array can be the same as the input array.
-> int N
Number of elements in the arrays (may be zero)

Author / revision

P. Kabal / Revision 1.5 2003/05/09


Main Index libtsp