 
 
lib-of-vs-addons-ofxVectorMath-src-ofxMatrix3x3.h / h
Credits: Code adopted from Lode Vandevenne http://student.kuleuven.be/~m0216922/CG/ */ #ifndef _OFX_MATRIX_3X3 define _OFX_MATRIX_3X3class ofxMatrix3x3 { public: double a; double b; double c; double d; double e; double f; double g; double h; double i; ofxMatrix3x3( double _a=0.0, double _b=0.0, double _c=0.0, double _d=0.0, double _e=0.0, double _f=0.0, double _g=0.0, double _h=0.0, double _i=0.0 ); void set( double _a, double _b, double _c, double _d, double _e, double _f, double _g, double _h, double _i ); double& operator[]( const int& index ); void transpose(); 
returns: transposed matrix.ofxMatrix3x3 transpose(const ofxMatrix3x3& A); double determinant() const; double determinant(const ofxMatrix3x3& A); void invert(); ofxMatrix3x3 inverse(const ofxMatrix3x3& A); ofxMatrix3x3 operator+(const ofxMatrix3x3& B); void operator+=(const ofxMatrix3x3& B); ofxMatrix3x3 operator-(const ofxMatrix3x3& B); void operator-=(const ofxMatrix3x3& B); ofxMatrix3x3 operator*(double scalar); void operator*=(const ofxMatrix3x3& B); void operator*=(double scalar); ofxMatrix3x3 operator*(const ofxMatrix3x3& B); ofxMatrix3x3 operator/(double scalar); void operator/=(const ofxMatrix3x3& B); void operator/=(double scalar); }; endif 
[]readme course(s) prefaceI 1 2II 3 4III 5 6 7IV 8 9 10V 11 12 afterthought(s)appendix reference(s) example(s)resource(s) _
(C) Æliens 04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.