powered by
Computes the linear combination \(Y := \alpha X + \beta Y\) in place.
dvcal(N = NULL, ALPHA = 1, X, INCX = 1L, BETA = 1, Y, INCY = 1L)
Invisibly returns the modified `Y`.
Optional integer giving the number of elements. Defaults to `length(X)`.
Numeric scalar multiplying `X`.
Double-precision vector, matrix or [`bigmemory::big.matrix`] input.
Integer stride for traversing `X`.
Numeric scalar multiplying `Y`.
Double-precision object updated in place.
Integer stride for traversing `Y`.
x <- 1:5 y <- rep(2, 5) dvcal(ALPHA = 2, X = x, BETA = -1, Y = y) y
Run the code above in your browser using DataLab