Boost logo

Boost :

From: Ralf W. Grosse-Kunstleve (rwgk_at_[hidden])
Date: 2005-04-24 08:40:16


--- Stefan Koch <maillist_at_[hidden]> wrote:
> Any interest in a templatized class for 3-Dimensional vectors?
> (Similar in style to std::complex or boost math/octonion and
> math/quaternion.)

FYI: A few years ago I put together cooperating classes for 3-dim vectors,
3x3 matrices and 3x3 symmetric matrices (storing only the six unique elements):

http://cvs.sourceforge.net/viewcvs.py/cctbx/scitbx/include/scitbx/vec3.h?view=markup

http://cvs.sourceforge.net/viewcvs.py/cctbx/scitbx/include/scitbx/mat3.h?view=markup

http://cvs.sourceforge.net/viewcvs.py/cctbx/scitbx/include/scitbx/sym_mat3.h?view=markup

See also: http://cctbx.sourceforge.net/

It is all open source (BSD style). Feel free to take what you find useful.

Cheers,
        Ralf

                
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/


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