powered by
Fill a vector or matrix with a constant value
dset(N = NULL, ALPHA, X, INCX = 1L)
Invisibly returns `X` after modification.
Optional integer specifying the number of elements to modify. Defaults to the length of `X`.
Numeric scalar used to populate `X`.
Double-precision vector, matrix or [`bigmemory::big.matrix`] to be filled in place.
Integer stride between successive elements of `X`.
x <- matrix(0, 2, 3) dset(ALPHA = 5, X = x) x
Run the code above in your browser using DataLab