
--- Stefan Koch <maillist@isolda.com> 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?vie... http://cvs.sourceforge.net/viewcvs.py/cctbx/scitbx/include/scitbx/mat3.h?vie... http://cvs.sourceforge.net/viewcvs.py/cctbx/scitbx/include/scitbx/sym_mat3.h... 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/