pic_axpy Interface

public interface pic_axpy

general interface of the BLAS AXPY routines, will call SAXPY, DAXPY, CAXPY, ZAXPY

Usage: call pic_axpy(n, alpha, x, incx, y, incy)

where n is the number of elements, alpha is the scaling factor, x is the input vector, incx is the increment for x, y is the output vector, and incy is the increment for y.

The vectors x and y must be allocatable arrays, we deduce the shapes from them. The increments incx and incy are 1 by default.

Calls

interface~~pic_axpy~~CallsGraph interface~pic_axpy pic_axpy proc~pic_caxpy pic_caxpy interface~pic_axpy->proc~pic_caxpy proc~pic_daxpy pic_daxpy interface~pic_axpy->proc~pic_daxpy proc~pic_saxpy pic_saxpy interface~pic_axpy->proc~pic_saxpy proc~pic_zaxpy pic_zaxpy interface~pic_axpy->proc~pic_zaxpy interface~blas_axpy blas_axpy proc~pic_caxpy->interface~blas_axpy proc~pic_daxpy->interface~blas_axpy proc~pic_saxpy->interface~blas_axpy proc~pic_zaxpy->interface~blas_axpy

Module Procedures

private subroutine pic_saxpy(x, y, alpha)

interface for single precision AXPY

Arguments

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

private subroutine pic_daxpy(x, y, alpha)

interface for double precision AXPY

Arguments

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

private subroutine pic_caxpy(x, y, alpha)

interface for single precision complex AXPY

Arguments

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

private subroutine pic_zaxpy(x, y, alpha)

interface for double precision complex AXPY

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: x(:)
complex(kind=dp), intent(inout) :: y(:)
complex(kind=dp), intent(in), optional :: alpha