1DSCAL(1) BLAS routine DSCAL(1)
23
4
NAME
6DSCAL - DSCAL scale 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
18DSCAL scales a vector by a constant.
19uses unrolled loops for increment equal to one.
2021
FURTHER DETAILS
23jack dongarra, linpack, 3/11/78.
24modified 3/93 to return if incx .le. 0.
25modified 12/3/93, array(1) declarations changed to array(*)
2627
28
29
30
BLAS routine November 2008 DSCAL(1)