VRdLinInc
Routine
-
void VRdLinInc (double xmin, double xmax, double x[], int N)
Purpose
-
Generate a linearly spaced array of values
Description
This routine generates a linearly spaced array of values
y[i] = xmin + i*(xmax-xmin)/(N-1), 0 <= i < N.
Parameters
-
-> double xmin
-
Minimum value
-
-> double xmax
-
<- double x[]
-
Array of doubles (N elements)
-
-> int N
-
Number of elements
Author / revision
P. Kabal
/ Revision 1.1 2002/02/15
Main Index libtsp