public interface stdlib_dot_product
Summary
dot_product of rank 1 arrays.
(Specification)
Description
compute the dot_product of rank 1 arrays.
The 1-D base implementation follows a chunked approach for optimizing performance and increasing accuracy.
Supported data types include real
, complex
and integer
.
Functions
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
complex(kind=dp),
|
intent(in) |
|
|
:: |
a(:) |
|
complex(kind=dp),
|
intent(in) |
|
|
:: |
b(:) |
|
Return Value
complex(kind=dp)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
complex(kind=sp),
|
intent(in) |
|
|
:: |
a(:) |
|
complex(kind=sp),
|
intent(in) |
|
|
:: |
b(:) |
|
Return Value
complex(kind=sp)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
a(:) |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
b(:) |
|
Return Value
real(kind=dp)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=int16),
|
intent(in) |
|
|
:: |
a(:) |
|
integer(kind=int16),
|
intent(in) |
|
|
:: |
b(:) |
|
Return Value
integer(kind=int16)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=int32),
|
intent(in) |
|
|
:: |
a(:) |
|
integer(kind=int32),
|
intent(in) |
|
|
:: |
b(:) |
|
Return Value
integer(kind=int32)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=int64),
|
intent(in) |
|
|
:: |
a(:) |
|
integer(kind=int64),
|
intent(in) |
|
|
:: |
b(:) |
|
Return Value
integer(kind=int64)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=int8),
|
intent(in) |
|
|
:: |
a(:) |
|
integer(kind=int8),
|
intent(in) |
|
|
:: |
b(:) |
|
Return Value
integer(kind=int8)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
a(:) |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
b(:) |
|
Return Value
real(kind=sp)