stdlib_dot_product Interface

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

private pure module function stdlib_dot_product_cdp(a, b) result(p)

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: a(:)
complex(kind=dp), intent(in) :: b(:)

Return Value complex(kind=dp)

private pure module function stdlib_dot_product_csp(a, b) result(p)

Arguments

Type IntentOptional Attributes Name
complex(kind=sp), intent(in) :: a(:)
complex(kind=sp), intent(in) :: b(:)

Return Value complex(kind=sp)

private pure module function stdlib_dot_product_dp(a, b) result(p)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: a(:)
real(kind=dp), intent(in) :: b(:)

Return Value real(kind=dp)

private pure module function stdlib_dot_product_int16(a, b) result(p)

Arguments

Type IntentOptional Attributes Name
integer(kind=int16), intent(in) :: a(:)
integer(kind=int16), intent(in) :: b(:)

Return Value integer(kind=int16)

private pure module function stdlib_dot_product_int32(a, b) result(p)

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: a(:)
integer(kind=int32), intent(in) :: b(:)

Return Value integer(kind=int32)

private pure module function stdlib_dot_product_int64(a, b) result(p)

Arguments

Type IntentOptional Attributes Name
integer(kind=int64), intent(in) :: a(:)
integer(kind=int64), intent(in) :: b(:)

Return Value integer(kind=int64)

private pure module function stdlib_dot_product_int8(a, b) result(p)

Arguments

Type IntentOptional Attributes Name
integer(kind=int8), intent(in) :: a(:)
integer(kind=int8), intent(in) :: b(:)

Return Value integer(kind=int8)

private pure module function stdlib_dot_product_sp(a, b) result(p)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: a(:)
real(kind=sp), intent(in) :: b(:)

Return Value real(kind=sp)