Go to the source code of this file.
subroutine zdscal |
( |
integer |
N, |
|
|
double precision |
DA, |
|
|
complex*16, dimension(*) |
ZX, |
|
|
integer |
INCX |
|
) |
| |
ZDSCAL
- Purpose:
ZDSCAL scales a vector by a constant.
- Author
- Univ. of Tennessee
-
Univ. of California Berkeley
-
Univ. of Colorado Denver
-
NAG Ltd.
- Date
- November 2011
- Further Details:
jack dongarra, 3/11/78.
modified 3/93 to return if incx .le. 0.
modified 12/3/93, array(1) declarations changed to array(*)
Definition at line 54 of file zdscal.f.
76 IF (n.LE.0 .OR. incx.LE.0)
RETURN
82 zx(i) = dcmplx(da,0.0d0)*zx(i)
90 zx(i) = dcmplx(da,0.0d0)*zx(i)