TSP (libtsp/VR) - VRfRev

## 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 Copyright (C) 1996 / Revision 1.3 1996/05/06

Main Index libtsp