SRSCL (3)  Linux Man Pages
NAME
srscl.f 
SYNOPSIS
Functions/Subroutines
subroutine srscl (N, SA, SX, INCX)
SRSCL multiplies a vector by the reciprocal of a real scalar.
Function/Subroutine Documentation
subroutine srscl (integerN, realSA, real, dimension( * )SX, integerINCX)
SRSCL multiplies a vector by the reciprocal of a real scalar.
Purpose:

SRSCL multiplies an nelement 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.
Parameters:

N
N is INTEGER The number of components of the vector x.
SASA 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.
SXSX is REAL array, dimension (1+(N1)*abs(INCX)) The nelement vector x.
INCXINCX is INTEGER The increment between successive values of the vector SX. > 0: SX(1) = X(1) and SX(1+(i1)*INCX) = x(i), 1< i<= n
Author:

Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
 September 2012
Definition at line 85 of file srscl.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.