Panther ships with an impressive array of resources used for numerical computing. In addition to the optimized mathematical library, libm , many numerical libraries are packaged within the vecLib framework. This framework is located in /System/Library/Frameworks/vecLib.framework , and its libraries have been optimized to take advantage of the G5 and the Velocity engine. The vecLib framework contains the following libraries:
To compile code using the vecLib framework, you must include the header file with the following line of code: #include <vecLib/vecLib.h> You can compile a program named prog.c , which makes use of this framework, as follows : $ gcc -faltivec -framework vecLib prog.c |