sscal (l) - Linux Manuals

sscal: scales a vector by a constant

NAME

SSCAL - scales a vector by a constant

SYNOPSIS

SUBROUTINE SSCAL(N,SA,SX,INCX)

    
REAL SA

    
INTEGER INCX,N

    
REAL SX(*)

PURPOSE


scales a vector by a constant.
uses unrolled loops for increment equal to 1.

FURTHER DETAILS


jack dongarra, linpack, 3/11/78.

modified 3/93 to return if incx .le. 0.

modified 12/3/93, array(1) declarations changed to array(*)