Next: , Previous: , Up: Top   [Contents][Index]


7 TinyVector

The TinyVector class provides a small, lightweight vector object whose size is known at compile time. It is included via the header <blitz/tinyvec.h>.

Note that TinyVector lives in the blitz namespace, so you will need to refer to it as blitz::TinyVector, or use the directive using namespace blitz;.

The Blitz++ Array object uses TinyVector internally, so if you include <blitz/array.h>, the TinyVector header is automatically included. However, to use TinyVector expressions, you will need to include <blitz/tinyvec-et.h>.