public interface stdlib_dot_product_kahan
Summary
dot_product of rank 1 arrays.
(Specification)
Description
compute the dot_product of rank 1 arrays.
The implementation follows a chunked approach combined with a kahan kernel for optimizing performance and increasing accuracy.
Supported data types include real
and complex
.
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 |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
a(:) |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
b(:) |
|
Return Value
real(kind=sp)