[R] colSums in C
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Dec 21 22:29:23 CET 2001
I've put a first version of colSums etc in R-devel. At present I have
concentrated on getting the details right (like handing NAs correctly,
handling integer and complex input ...) as well as full S+ compatibility.
I suspect that for speed one should be using BLAS routines, but so far
I've done no optimization. Indeed, not even of the C code since in my
experience compilers are better at that than humans.
As I said, just a first pass!
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list