naginterfaces.library.blas.ddot

naginterfaces.library.blas.ddot(x, y)[source]

ddot computes the scalar product of two real vectors.

For full information please refer to the NAG Library document for f06ea

https://www.nag.com/numeric/nl/nagdoc_28.7/flhtml/f06/f06eaf.html

Parameters
xfloat, array-like, shape

The -element vector .

yfloat, array-like, shape

The -element vector .

Returns
dfloat

The scalar product.

Notes

No equivalent traditional C interface for this routine exists in the NAG Library.

ddot returns the value of the scalar product

where and are -element real vectors.

References

Lawson, C L, Hanson, R J, Kincaid, D R and Krogh, F T, 1979, Basic linear algebra supbrograms for Fortran usage, ACM Trans. Math. Software (5), 308–325