powered by
Updates `Y` by subtracting `X`, i.e. \(Y := Y - X\).
dsub(N = NULL, X, INCX = 1L, Y, INCY = 1L)
Invisibly returns the modified `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`.
x <- 1:4 y <- rep(10, 4) dsub(X = x, Y = y) y
Run the code above in your browser using DataLab