16. Vectors and Matrices

This chapter marks a departure in the book’s progression. Instead of describing the Cell’s capabilities as a processing device, the goal of this and succeeding chapters is to show how these capabilities accomplish practical tasks. This chapter concentrates on performing vector and matrix operations with the Cell, and it covers five topics:

The first topic is the Vector library (libvector). This provides functions for basic vector operations, such as the cross product and dot product. These functions run on the SPU and PPU and were designed primarily for ...

Get Programming the Cell Processor: For Games, Graphics, and Computation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.