stdlib_sscal Subroutine

public pure subroutine stdlib_sscal(n, sa, sx, incx)

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

Arguments

Type IntentOptional Attributes Name
integer(kind=ilp), intent(in) :: n
real(kind=sp), intent(in) :: sa
real(kind=sp), intent(inout) :: sx(*)
integer(kind=ilp), intent(in) :: incx