scal Interface

public interface scal

SCAL scales a vector by a constant.


Subroutines

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

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

public pure subroutine dscal(n, da, dx, incx)

Arguments

Type IntentOptional Attributes Name
integer(kind=ilp), intent(in) :: n
real(kind=dp), intent(in) :: da
real(kind=dp), intent(inout) :: dx(*)
integer(kind=ilp), intent(in) :: incx

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

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

public pure subroutine zscal(n, za, zx, incx)

Arguments

Type IntentOptional Attributes Name
integer(kind=ilp), intent(in) :: n
complex(kind=dp), intent(in) :: za
complex(kind=dp), intent(inout) :: zx(*)
integer(kind=ilp), intent(in) :: incx

Module Procedures

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

public pure subroutine stdlib_dscal(n, da, dx, incx)

DSCAL 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=dp), intent(in) :: da
real(kind=dp), intent(inout) :: dx(*)
integer(kind=ilp), intent(in) :: incx

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

public pure subroutine stdlib_zscal(n, za, zx, incx)

ZSCAL scales a vector by a constant.

Arguments

Type IntentOptional Attributes Name
integer(kind=ilp), intent(in) :: n
complex(kind=dp), intent(in) :: za
complex(kind=dp), intent(inout) :: zx(*)
integer(kind=ilp), intent(in) :: incx