big_increment | R Documentation |
Increment an FBM
big_increment(X, add, use_lock = FALSE)
X |
An |
add |
A matrix of same dimensions as |
use_lock |
Whether to use locks when incrementing. Default is |
Returns nothing (NULL
, invisibly).
X <- FBM(10, 10, init = 0) mat <- matrix(rnorm(100), 10, 10) big_increment(X, mat) all.equal(X[], mat) big_increment(X, mat) all.equal(X[], 2 * mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.