dot Interface

public interface dot

DOT forms the dot product of two vectors. uses unrolled loops for increments equal to one.


Functions

public pure function ddot(n, dx, incx, dy, incy)

Arguments

Type IntentOptional 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)

public pure function sdot(n, sx, incx, sy, incy)

Arguments

Type IntentOptional 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

public pure function stdlib_ddot(n, dx, incx, dy, incy)

DDOT forms the dot product of two vectors. uses unrolled loops for increments equal to one.

Arguments

Type IntentOptional 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)

public pure function stdlib_sdot(n, sx, incx, sy, incy)

SDOT forms the dot product of two vectors. uses unrolled loops for increments equal to one.

Arguments

Type IntentOptional 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)