pic_dot Interface

public interface pic_dot

general interface of the BLAS DOT routines, will call SDOT, DDOT, CDOTC, ZDOTC

Usage: result = pic_dot(x, y)

where x is the input vector, y is the output vector. The vectors x and y must be allocatable arrays, we deduce the shapes from them.

Calls

interface~~pic_dot~~CallsGraph interface~pic_dot pic_dot proc~pic_cdotc pic_cdotc interface~pic_dot->proc~pic_cdotc proc~pic_ddot pic_ddot interface~pic_dot->proc~pic_ddot proc~pic_sdot pic_sdot interface~pic_dot->proc~pic_sdot proc~pic_zdotc pic_zdotc interface~pic_dot->proc~pic_zdotc interface~blas_dot blas_dot proc~pic_cdotc->interface~blas_dot proc~pic_ddot->interface~blas_dot proc~pic_sdot->interface~blas_dot proc~pic_zdotc->interface~blas_dot

Module Procedures

private function pic_sdot(x, y) result(res)

interface for single precision dot product

Arguments

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

Return Value real(kind=sp)

private function pic_ddot(x, y) result(res)

interface for double precision dot product

Arguments

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

Return Value real(kind=dp)

private function pic_cdotc(x, y) result(res)

interface for single precision complex dot product

Arguments

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

Return Value complex(kind=sp)

private function pic_zdotc(x, y) result(res)

interface for double precision complex dot product

Arguments

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

Return Value complex(kind=dp)