Scroll to navigation

DSCAL(1) BLAS routine DSCAL(1)

NAME

DSCAL - DSCAL scale a vector by a constant

SYNOPSIS

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(*)

November 2008 BLAS routine