pic_scopy Subroutine

private subroutine pic_scopy(x, y)

interface for single precision copy

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: x(:)
real(kind=sp), intent(inout) :: y(:)

Calls

proc~~pic_scopy~~CallsGraph proc~pic_scopy pic_scopy interface~blas_copy blas_copy proc~pic_scopy->interface~blas_copy

Called by

proc~~pic_scopy~~CalledByGraph proc~pic_scopy pic_scopy interface~pic_copy pic_copy interface~pic_copy->proc~pic_scopy

Variables

Type Visibility Attributes Name Initial
integer(kind=default_int), private :: incx
integer(kind=default_int), private :: incy
integer(kind=default_int), private :: n

Source Code

   subroutine pic_scopy(x, y)
      !! interface for single precision copy
      real(sp), intent(in) :: x(:)
      real(sp), intent(inout) :: y(:)
      integer(default_int) :: n, incx, incy
      n = size(x)
      incx = 1
      incy = 1
      call blas_copy(n, x, incx, y, incy)
   end subroutine pic_scopy