1DRSCL(1) LAPACK auxiliary routine (version 3.1) DRSCL(1)
2
3
4
6 DRSCL - an n-element real vector x by the real scalar 1/a
7
9 SUBROUTINE DRSCL( N, SA, SX, INCX )
10
11 INTEGER INCX, N
12
13 DOUBLE PRECISION SA
14
15 DOUBLE PRECISION SX( * )
16
18 DRSCL multiplies an n-element real vector x by the real scalar 1/a.
19 This is done without overflow or underflow as long as
20 the final result x/a does not overflow or underflow.
21
22
24 N (input) INTEGER
25 The number of components of the vector x.
26
27 SA (input) DOUBLE PRECISION
28 The scalar a which is used to divide each component of x. SA
29 must be >= 0, or the subroutine will divide by zero.
30
31 SX (input/output) DOUBLE PRECISION array, dimension
32 (1+(N-1)*abs(INCX)) The n-element vector x.
33
34 INCX (input) INTEGER
35 The increment between successive values of the vector SX. > 0:
36 SX(1) = X(1) and SX(1+(i-1)*INCX) = x(i), 1< i<= n
37
38
39
40 LAPACK auxiliary routine (versionNo3v.e1m)ber 2006 DRSCL(1)