DSCAL(1)

NAME
LAPACK-3 - DSCAL scale a vector by a constant

SYNOPSIS

SUBROUTINE DSCAL(N,DA,DX,INCX)

DOUBLE
    PRECISION DA

INTEGER
    INCX,N

DOUBLE
    PRECISION DX(*)

PURPOSE
   DSCAL scales a vector by a constant.
    uses unrolled loops for increment equal to one.

FURTHER DETAILS
    jack dongarra, linpack, 3/11/78.
    modified 3/93 to return if incx .le. 0.
    modified 12/3/93, array(1) declarations changed to array(*)