DSCAL scales a vector by a constant. uses unrolled loops for increment equal to 1.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=ip) | :: | n | ||||
| real(kind=wp) | :: | da | ||||
| real(kind=wp) | :: | dx(*) | ||||
| integer(kind=ip) | :: | incx |
subroutine dscal(n, da, dx, incx) import implicit none real(wp) :: da integer(ip) :: incx, n real(wp) :: dx(*) end subroutine dscal