------------------------------------------------------------------------ IMSL Name: CSUB (Single precision version) Revised: August 9, 1986 Purpose: Subtract each component of a vector from a scalar, x = a - x, all complex. Usage: CALL CSUB (N, CA, CX, INCX) Arguments: N - Length of vector X. (Input) CA - Complex scalar which each element of X is subtracted from. (Input) CX - Complex vector of length MAX(N*IABS(INCX),1). (Input/Output) CSUB replaces X(I) with CA - X(I) for I = 1,...N. X(I) refers to a specific element of CX. 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. Keyword: Level 1 BLAS GAMS: D1a11 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