------------------------------------------------------------------------ IMSL Name: CAXPY (Single precision version) Revised: August 9, 1986 Purpose: Compute the scalar times a vector plus a vector, y = ax + y, all complex. Usage: CALL CAXPY (N, CA, CX, INCX, CY, INCY) Arguments: N - Length of vectors X and Y. (Input) CA - Complex scalar. (Input) CX - Complex vector of length MAX(N*IABS(INCX),1). (Input) INCX - Displacement between elements of CX. (Input) X(I) is defined to be CX(1+(I-1)*INCX) if INCX.GE.0 or CX(1+(I-N)*INCX) if INCX.LT.0. CY - Complex vector of length MAX(N*IABS(INCY),1). (Input/Output) CAXPY replaces Y(I) with CA*X(I) + Y(I) for I = 1,...N. X(I) and Y(I) refer to specific elements of CX and CY. INCY - Displacement between elements of CY. (Input) Y(I) is defined to be CY(1+(I-1)*INCY) if INCY.GE.0 or CY(1+(I-N)*INCY) if INCY.LT.0. Keywords: Level 1 BLAS; CAXPY GAMS: D1a7 Chapters: MATH/LIBRARY Basic Matrix/Vector Operations STAT/LIBRARY Mathematical Support Page No.: MATH/LIBRARY User's Manual page 1143 STAT/LIBRARY User's Manual page 1505