pic_ddot Function

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)


Calls

proc~~pic_ddot~~CallsGraph proc~pic_ddot pic_ddot interface~blas_dot blas_dot proc~pic_ddot->interface~blas_dot

Called by

proc~~pic_ddot~~CalledByGraph proc~pic_ddot pic_ddot interface~pic_dot pic_dot interface~pic_dot->proc~pic_ddot

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

   function pic_ddot(x, y) result(res)
      !! interface for double precision dot product
      real(dp), intent(in) :: x(:)
      real(dp), intent(in) :: y(:)
      real(dp) :: res
      integer(default_int) :: n, incx, incy
      n = size(x)
      incx = 1
      incy = 1
      res = blas_dot(n, x, incx, y, incy)
   end function pic_ddot