LAPACK  3.4.2
LAPACK: Linear Algebra PACKage
 All Files Functions Groups
srscl.f File Reference

Go to the source code of this file.


subroutine srscl (N, SA, SX, INCX)
 SRSCL multiplies a vector by the reciprocal of a real scalar.

Function/Subroutine Documentation

subroutine srscl ( integer  N,
real  SA,
real, dimension( * )  SX,
integer  INCX 

SRSCL multiplies a vector by the reciprocal of a real scalar.

Download SRSCL + dependencies [TGZ] [ZIP] [TXT]
 SRSCL multiplies an n-element real vector x by the real scalar 1/a.
 This is done without overflow or underflow as long as
 the final result x/a does not overflow or underflow.
          N is INTEGER
          The number of components of the vector x.
          SA is REAL
          The scalar a which is used to divide each component of x.
          SA must be >= 0, or the subroutine will divide by zero.
          SX is REAL array, dimension
          The n-element vector x.
          INCX is INTEGER
          The increment between successive values of the vector SX.
          > 0:  SX(1) = X(1) and SX(1+(i-1)*INCX) = x(i),     1< i<= n
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
September 2012

Definition at line 85 of file srscl.f.

Here is the call graph for this function:

Here is the caller graph for this function: