| 1 |
/* ./util_f77/iset.f -- translated by f2c (version 20030320). |
| 2 |
You must link the resulting object file with the libraries: |
| 3 |
-lf2c -lm (in that order) |
| 4 |
*/ |
| 5 |
|
| 6 |
#include <punc/vf2c.h> |
| 7 |
|
| 8 |
|
| 9 |
/* ----------------------------------------------------------------------- */ |
| 10 |
|
| 11 |
/* Only work with increment equal to 1 right now. */ |
| 12 |
|
| 13 |
/* Subroutine */ int iset_(integer *n, integer *value, integer *array, |
| 14 |
integer *inc) |
| 15 |
{ |
| 16 |
/* System generated locals */ |
| 17 |
integer i__1; |
| 18 |
|
| 19 |
/* Local variables */ |
| 20 |
static integer i__; |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
/* Parameter adjustments */ |
| 25 |
--array; |
| 26 |
|
| 27 |
/* Function Body */ |
| 28 |
i__1 = *n; |
| 29 |
for (i__ = 1; i__ <= i__1; ++i__) { |
| 30 |
array[i__] = *value; |
| 31 |
/* L10: */ |
| 32 |
} |
| 33 |
|
| 34 |
return 0; |
| 35 |
} /* iset_ */ |
| 36 |
|