SCOPYM(3)

SYNOPSIS
SUBROUTINE SCOPYM (N, SX, INCX, SY, INCY)

NAME
scopym - Copy the negative of a vector to a vector.

LIBRARY
SLATEC (BLAS)

CATEGORY
D1A5

TYPE
SINGLE PRECISION (SCOPYM-S, DCOPYM-D)

KEYWORDS
BLAS, COPY, VECTOR

AUTHOR
Kahaner, D. K., (NBS)

DESCRIPTION
Description of Parameters The * Flags Output Variables N Number of elements in vector(s) SX Real vector with N elements INCX Storage spacing between elements of SX SY* Real negative copy of SX INCY Storage spacing between elements of SY *** Note that SY = -SX *** Copy negative of real SX to real SY. For I=0 to N-1, copy -SX(LX+I*INCX) to SY(LY+I*INCY), where LX=1 if INCX .GE. 0, else LX = 1+(1-N)*INCX, and LY is defined in a similar way using INCY.

REFERENCES
(NONE)

ROUTINES CALLED
(NONE)

REVISION HISTORY (YYMMDD)
801001 DATE WRITTEN
890831 Modified array declarations. (WRB)
890831 REVISION DATE from Version 3.2
891214 Prologue converted to Version 4.0 format. (BAB)
920310 Corrected definition of LX in DESCRIPTION. (WRB)