Dot product of two vectors.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=ip), | intent(in) | :: | n |
the number of entries in the vectors. |
||
real(kind=wp), | intent(in) | :: | dx(*) |
the first vector |
||
integer(kind=ip), | intent(in) | :: | incx |
the increment between successive entries in DX. |
||
real(kind=wp), | intent(in) | :: | dy(*) |
the second vector |
||
integer(kind=ip), | intent(in) | :: | incy |
the increment between successive entries in DY. |
function ddot (n,dx,incx,dy,incy) implicit none integer, intent(in) :: n,incx,incy double precision, intent(in) :: dx(*),dy(*) double precision :: ddot end function ddot