(S|D)DOT¶
Single and double DOT.
BLAS Interface¶
float sdot(const qml_long *N, const float *X, const qml_long *INCX,
const float *Y, const qml_long *INCY);
double ddot(const qml_long *N, const double *X, const qml_long *INCX,
const double *Y, const qml_long *INCY);
CBLAS Interface¶
float cblas_sdot(const qml_long N, const float *X, const qml_long INCX,
const float *Y, const qml_long INCY);
double cblas_ddot(const qml_long N, const double *X, const qml_long INCX,
const double *Y, const qml_long INCY);
Arguments¶
| N | Number of elements in X and Y |
| X | First input vector, must be at least: ![]() |
| INCX | Distance between individual elements in X |
| Y | Second input vector, must be at least: ![]() |
| INCY | Distance between individual elements in Y |
| Result | Result of the dot product |


