public interface dot
DOT forms the dot product of two vectors.
uses unrolled loops for increments equal to one.
Functions
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
n |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
dx(*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
incx |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
dy(*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
incy |
|
Return Value
real(kind=dp)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
n |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
sx(*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
incx |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
sy(*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
incy |
|
Return Value
real(kind=sp)
Module Procedures