stdlib_cscal Subroutine

public pure subroutine stdlib_cscal(n, ca, cx, incx)

CSCAL scales a vector by a constant.

Arguments

Type IntentOptional Attributes Name
integer(kind=ilp), intent(in) :: n
complex(kind=sp), intent(in) :: ca
complex(kind=sp), intent(inout) :: cx(*)
integer(kind=ilp), intent(in) :: incx