1 SUBROUTINE sascal( N, ALPHA, X, INCX )
51 parameter( one = 1.0e+0, zero = 0.0e+0 )
54 INTEGER I, INFO, IX, M, MP1
69 ELSE IF( incx.EQ.0 )
THEN
73 CALL xerbla(
'SASCAL', info )
94 ix = 1 - ( n - 1 ) * incx
97 IF( alpha.EQ.zero )
THEN
102 ELSE IF( alpha.EQ.one )
THEN
104 x( ix ) = abs( x( ix ) )
109 x( ix ) = abs( alpha * x( ix ) )
125 IF( alpha.EQ.zero )
THEN
129 ELSE IF( alpha.EQ.one )
THEN
131 x( i ) = abs( x( i ) )
135 x( i ) = abs( alpha * x( i ) )
144 IF( alpha.EQ.zero )
THEN
151 ELSE IF( alpha.EQ.one )
THEN
153 x( i ) = abs( x( i ) )
154 x( i + 1 ) = abs( x( i + 1 ) )
155 x( i + 2 ) = abs( x( i + 2 ) )
156 x( i + 3 ) = abs( x( i + 3 ) )
160 x( i ) = abs( alpha * x( i ) )
161 x( i + 1 ) = abs( alpha * x( i + 1 ) )
162 x( i + 2 ) = abs( alpha * x( i + 2 ) )
163 x( i + 3 ) = abs( alpha * x( i + 3 ) )