Boost logo

Boost :

From: jvd (vygis_d_at_[hidden])
Date: 2003-05-21 05:57:20


hello boosters,

subject tells itself about the thing i'm going to
propose.

AFAIK, there're no vector (i mean
geometrical vectors) classes in boost
(well, there's uBLAS version of vectors but that's rather a container
than a geometrical primitive, correct me if i'm wrong).

idea itself is borrowed from blitz++.

template< typename T, std::size_t N >
class tiny_vector { /**/ };

vector operations are and should be implemented
inlinely. there should be no inner loops in additions
substractions, scalar multiplication/division, etc.

i suppose it would be neat to have boostified vectors
as we have boostified quaternions, octonions, etc.

so what about this idea?

respect,
Justinas V.D.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk