scal(3F)
dscal, sscal, zscal, cscal, zdscal, csscal - BLAS level ONE scaling subroutines
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME dscal, sscal, zscal, cscal, zdscal, csscal - BLAS level ONE scaling subroutines FORTRAN 77 SYNOPSIS subroutine dscal( n, a, x, incx ) integer incx, n double precision a double precision x( 1 ) subroutine sscal( n, a, x, incx ) integer incx, n real a real x( 1 ) subroutine zscal( n, a, x, incx ) integer incx, n complex*16 a complex*16 x( 1 ) subroutine cscal( n, a, x, incx ) integer incx, n complex a complex x( 1 ) subroutine zdscal( n, a, x, incx ) integer incx, n double precision a complex*16 x( 1 ) subroutine csscal( n, a, x, incx ) integer incx, n real a complex x( 1 ) C SYNOPSIS void dscal( n, a, x, incx ) Integer incx, n; double a; double (*x)[ n ]; void scal( n, a, x, incx ) Integer incx, n; float a; float (*x)[ n ]; void zscal( n, a, x, incx ) Integer incx, n; Complex a; Complex (*x)[ n ]; void cscal( n, a, x, incx ) Integer incx, n; Complex a; Complex (*x)[ n ]; void zdscal( n, a, x, incx ) Integer incx, n; double a; Complex (*x)[ n ]; void csscal( n, a, x, incx ) Integer incx, n; float a; Complex (*x)[ n ]; DESCRIPTION dscal, sscal, zscal, cscal, zdscal, and csscal scale the vector x of length n and increment incx by the constant a. For dscal, sscal, zscal and cscal the constant a is of the same type as the vector x. zdscal and csscal scale a "complex" vector by "real" constant. AUTHORS Jack Dongarra, linpack, 3/11/78.