Skip to content
Prev 31753 / 398506 Next

Avoiding loops to spare time and memory

Have you profiled your code (see `Writing R Extensions')?

My guess is that most of the time is being spent in eigen(); if so you 
would have to use a different approach to gain much speed.

BTW, please make more use of the space bar: your code is nigh unreadable
(and so I've not tried to read it in detail).  `Writing R Extensions' 
also shows you how to format code well.
On Thu, 8 May 2003, Dirk Enzmann wrote: