Scroll to navigation

SRSCL(1) LAPACK auxiliary routine (version 3.2) SRSCL(1)

NAME

SRSCL - multiplies an n-element real vector x by the real scalar 1/a

SYNOPSIS

N, SA, SX, INCX )

INTEGER INCX, N REAL SA REAL SX( * )

PURPOSE

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.

ARGUMENTS

The number of components of the vector x.
The scalar a which is used to divide each component of x. SA must be >= 0, or the subroutine will divide by zero.
(1+(N-1)*abs(INCX)) The n-element vector x.
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
November 2008 LAPACK auxiliary routine (version 3.2)