Replacing loops with apply/mapply/etc. to speed things up
I have the following code that uses a nested loop. This uses sample random data and sample (smallish, relative to the actual application) numbers N
, Taumax
, and Tmax
.
I have the following code that uses a nested loop. This uses sample random data and sample (smallish, relative to the actual application) numbers N
, Taumax
, and Tmax
.