
On Mon, Jun 19, 2006 at 09:03:19AM -0700, Geoffrey Irving wrote:
large vectors. For example, uBLAS does not have cross products, normalization, quaternions, exponential maps from vectors to quaternions, etc.
Still it seems that the general vector functions is a subset of the functions for 3-vectors. I did a linear algebra library myself (http://gwesp.tx0.org/software/) including quaternions, cross product, etc. The code for the basic vector operations is the same for the fixed 3-vector and the general n-vector. I didn't benchmark it against other libraries, but as for fixed size vectors the dimension is a compile-time constant, optimal optimization seems to be a quality-of-implementation issue. Regards -Gerhard -- Gerhard Wesp ZRH office voice: +41 (0)44 668 1878 ZRH office fax: +41 (0)44 200 1818 For the rest I claim that raw pointers must be abolished.