1
/* -- translated by f2c (version 20050501).
2
You must link the resulting object file with libf2c:
3
on Microsoft Windows system, link with libf2c.lib;
4
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
5
or, if you install libf2c.a in a standard place, with -lf2c -lm
6
-- in that order, at the end of the command line, as in
8
Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
10
http://www.netlib.org/f2c/libf2c.zip
14
#include "arpack_internal.h"
17
/* Subroutine */ int igraphdcopy_(integer *n, doublereal *dx, integer *incx,
18
doublereal *dy, integer *incy)
20
/* System generated locals */
24
static integer i__, m, ix, iy, mp1;
27
/* copies a vector, x, to a vector, y. */
28
/* uses unrolled loops for increments equal to one. */
29
/* jack dongarra, linpack, 3/11/78. */
30
/* modified 12/3/93, array(1) declarations changed to array(*) */
33
/* Parameter adjustments */
41
if (*incx == 1 && *incy == 1) {
45
/* code for unequal increments or equal increments */
51
ix = (-(*n) + 1) * *incx + 1;
54
iy = (-(*n) + 1) * *incy + 1;
57
for (i__ = 1; i__ <= i__1; ++i__) {
65
/* code for both increments equal to 1 */
76
for (i__ = 1; i__ <= i__1; ++i__) {
86
for (i__ = mp1; i__ <= i__1; i__ += 7) {
88
dy[i__ + 1] = dx[i__ + 1];
89
dy[i__ + 2] = dx[i__ + 2];
90
dy[i__ + 3] = dx[i__ + 3];
91
dy[i__ + 4] = dx[i__ + 4];
92
dy[i__ + 5] = dx[i__ + 5];
93
dy[i__ + 6] = dx[i__ + 6];