powered by
Forms the dot product using long-double accumulation to mitigate rounding error.
dqddot(N = NULL, X, INCX = 1L, Y, INCY = 1L)
Numeric scalar equal to the dot product of `X` and `Y`.
Optional integer giving the number of elements. Defaults to `length(X)`.
Double-precision vector, matrix or [`bigmemory::big.matrix`] input.
Integer stride for traversing `X`.
Double-precision object updated in place.
Integer stride for traversing `Y`.
dqddot(X = 1:3, Y = c(2, 4, 6))
Run the code above in your browser using DataLab