copy Interface

public interface copy

COPY copies a vector x to a vector y.


Subroutines

public pure subroutine ccopy(n, cx, incx, cy, incy)

Arguments

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

public pure subroutine dcopy(n, dx, incx, dy, incy)

Arguments

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

public pure subroutine scopy(n, sx, incx, sy, incy)

Arguments

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

public pure subroutine zcopy(n, zx, incx, zy, incy)

Arguments

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

Module Procedures

public pure subroutine stdlib_ccopy(n, cx, incx, cy, incy)

CCOPY copies a vector x to a vector y.

Arguments

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

public pure subroutine stdlib_dcopy(n, dx, incx, dy, incy)

DCOPY copies a vector, x, to a vector, y. uses unrolled loops for increments equal to 1.

Arguments

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

public pure subroutine stdlib_scopy(n, sx, incx, sy, incy)

SCOPY copies a vector, x, to a vector, y. uses unrolled loops for increments equal to 1.

Arguments

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

public pure subroutine stdlib_zcopy(n, zx, incx, zy, incy)

ZCOPY copies a vector, x, to a vector, y.

Arguments

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