For example, is this:
for(j in 1:N) { z[j] <- m*x[j] }
any faster than this:
z[] <- m*x[]
Last edit: Martyn Plummer 2012-09-06
For example, is this:
for(j in 1:N) { z[j] <- m*x[j] }
any faster than this:
z[] <- m*x[]
A simple question with three answers
Log in to post a comment.