Fortran-lang/stdlib
Contributing and specs
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
stdlib_cscal
Subroutine
18 statements
Source File
stdlib_linalg_blas_c.fypp
stdlib_linalg_blas_c
stdlib_cscal
Contents
public pure subroutine stdlib_cscal(n, ca, cx, incx)
CSCAL scales a vector by a constant.
Arguments
Type
Intent
Optional
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