powered by
Computes \(Z := X \circ Y\). When `Z` is missing it is allocated automatically.
dhprod(N = NULL, X, INCX = 1L, Y, INCY = 1L, Z, INCZ = 1L)
The updated object `Z`.
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`.
Optional output container receiving the product.
Integer stride for `Z`.
dhprod(X = 1:4, Y = rep(2, 4))
Run the code above in your browser using DataLab