scipy.linalg.blas.ddot#

scipy.linalg.blas.ddot(x, y, n=None, offx=0, incx=1, offy=0, incy=1) = <fblas function ddot>#

Compute the dot product sum(x*y) (BLAS ddot).

Parameters:
xndarray

Input vector.

yndarray

Input vector.

nint, optional

Number of elements to process. Default is the whole vector.

offxint, optional

Index of the first element of x to use. Default is 0.

incxint, optional

Stride between successive elements of x. Default is 1.

offyint, optional

Index of the first element of y to use. Default is 0.

incyint, optional

Stride between successive elements of y. Default is 1.

Returns:
xyfloat

The dot product of x and y.