Mac OS X 10.2 comes with /System/Library/Frameworks/vecLib.framework, which contains Altivec optimized versions of LAPACK, BLAS (and of libraries for Digital Signal Processing and BigNums, and a vector version of the scalar libm). All this is either 8, 16, or 32 bit signed and unsigned integers, or single precision IEEE floating point. Browse it: <developer.apple.com/hardware/ve> Code it: /System/Library/Frameworks/vecLib.framework/ Include it: #include <vecLib/vecLib.h> Do it: cc -faltivec -framework vecLib file.c Although the use of single precision FP may be a problem for building all of R, this framework could obviously be used to build some wickedly fast DSP and linear algebra packages. ==Jan de Leeuw; Professor and Chair, UCLA Department of Statistics; Editor: Journal of Multivariate Analysis, Journal of Statistical Software US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554 phone (310)-825-9550; fax (310)-206-5658; email: deleeuw@stat.ucla.edu homepage: http://gifi.stat.ucla.edu ------------------------------------------------------------------------ ------------------------- No matter where you go, there you are. --- Buckaroo Banzai http://gifi.stat.ucla.edu/sounds/nomatter.au ------------------------------------------------------------------------ ------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._