Boost logo

Ublas :

From: Eddie.Vedder_at_[hidden]
Date: 2005-02-04 09:42:33


Hi there,

I tried to write my own matrix class, which should hold a special matrix
(rotation matrix) of size 3x3. The class inherits from
boost::numeric::ublas::bounded_matrix<double, 3, 3> (similar to the vector3
example on the "Effective UBLAS"-site).

My problem is: How can I access the matrix elements within new methods of my
class. In the vector3 case it worked with data()[i].
Does anybody tried to code a matrix3 class yet?

Thanks for any help.
Ed

-- 
Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS
GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail