Re: [Rcpp-devel] Timings for a program

2017-01-06 Thread Christian Gunning
Why is there a dot in ".*"? Are you perhaps thinking of Matlab? On Fri, Jan 6, 2017 at 8:53 PM, Shaami wrote: > I have deleted two for loops from my code and trying to use vectors in place > of them. For reference, there's very little benefit to removing loops in a compiled language. What Marty

Re: [Rcpp-devel] Timings for a program

2017-01-06 Thread Shaami
Hello Dear Your suggestions are quite useful. I have deleted two for loops from my code and trying to use vectors in place of them. It is hard for me to produce a minimal example. However, now I am trying to use vectorization. I am having some error. Following is an example code. My basic purpose