1DSCAL(1) BLAS routine DSCAL(1)
23
4
NAME
6DSCAL - a vector by a constant
7
SYNOPSIS
9SUBROUTINE DSCAL(N,DA,DX,INCX)
1011
DOUBLE PRECISION DA
1213
INTEGER INCX,N
1415
DOUBLE PRECISION DX(*)
16
PURPOSE
18scales a vector by a constant.
19uses unrolled loops for increment equal to one.
20jack dongarra, linpack, 3/11/78.
21modified 3/93 to return if incx .le. 0.
22modified 12/3/93, array(1) declarations changed to array(*)
2324
25
26
27
28
BLAS routine November 2006 DSCAL(1)