Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Matrix3x3 Class Reference

#include <matrix3x3.h>

List of all members.

Public Methods

 Matrix3x3 (void)
 Matrix3x3 (double aa, double ab, double ac, double ba, double bb, double bc, double ca, double cb, double cc)
string toString ()
double Determinant ()
Matrix3x3 Transpose ()
Matrix3x3 Inverse ()
Matrix3x3 & operator+= (const Matrix3x3 &)
Matrix3x3 & operator-= (const Matrix3x3 &)
Matrix3x3 & operator *= (double)
Matrix3x3 & operator/= (double)

Protected Attributes

double e11
double e12
double e13
double e21
double e22
double e23
double e31
double e32
double e33

Friends

Matrix3x3 operator * (const Matrix3x3 &A, const Matrix3x3 &B)
Vector3d operator * (const Matrix3x3 &A, const Vector3d &v)
Vector3d operator * (const Vector3d &v, const Matrix3x3 &A)


Detailed Description

A 3x3 matrix and operations

Definition at line 42 of file matrix3x3.h.


Constructor & Destructor Documentation

Matrix3x3::Matrix3x3 void    [inline]
 

Adapted from

Physics for Game Developers David M. Bourg O'Reilly ISBN 0-596-00006-5

Definition at line 35 of file matrix3x3.cc.

References e11, e12, e13, e21, e22, e23, e31, e32, and e33.

Referenced by Inverse(), and Transpose().

Matrix3x3::Matrix3x3 double    aa,
double    ab,
double    ac,
double    ba,
double    bb,
double    bc,
double    ca,
double    cb,
double    cc
[inline]
 

Definition at line 41 of file matrix3x3.cc.

References e11, e12, e13, e21, e22, e23, e31, e32, and e33.


Member Function Documentation

double Matrix3x3::Determinant   [inline]
 

Definition at line 58 of file matrix3x3.cc.

References e11, e12, e13, e21, e22, e23, e31, e32, and e33.

Referenced by Inverse().

Matrix3x3 Matrix3x3::Inverse   [inline]
 

Definition at line 72 of file matrix3x3.cc.

References Determinant(), e11, e12, e13, e21, e22, e23, e31, e32, e33, and Matrix3x3().

Referenced by Cylinder::updateMomentOfInertia().

Matrix3x3& Matrix3x3::operator *= double   
 

Matrix3x3 & Matrix3x3::operator+= const Matrix3x3 &    [inline]
 

Definition at line 88 of file matrix3x3.cc.

References e11, e12, e13, e21, e22, e23, e31, e32, and e33.

Matrix3x3 & Matrix3x3::operator-= const Matrix3x3 &    [inline]
 

Definition at line 95 of file matrix3x3.cc.

References e11, e12, e13, e21, e22, e23, e31, e32, and e33.

Matrix3x3& Matrix3x3::operator/= double   
 

string Matrix3x3::toString   [inline]
 

Definition at line 49 of file matrix3x3.cc.

References e11, e12, e13, e21, e22, e23, e31, e32, and e33.

Matrix3x3 Matrix3x3::Transpose   [inline]
 

Definition at line 68 of file matrix3x3.cc.

References e11, e12, e13, e21, e22, e23, e31, e32, e33, and Matrix3x3().


Friends And Related Function Documentation

Vector3d operator * const Vector3d   v,
const Matrix3x3 &    A
[friend]
 

Definition at line 137 of file matrix3x3.cc.

Vector3d operator * const Matrix3x3 &    A,
const Vector3d   v
[friend]
 

Definition at line 131 of file matrix3x3.cc.

Matrix3x3 operator * const Matrix3x3 &    A,
const Matrix3x3 &    B
[friend]
 

Definition at line 102 of file matrix3x3.cc.


Member Data Documentation

double Matrix3x3::e11 [protected]
 

Definition at line 44 of file matrix3x3.h.

Referenced by Determinant(), Inverse(), Matrix3x3(), operator *(), operator+=(), operator-=(), toString(), and Transpose().

double Matrix3x3::e12 [protected]
 

Definition at line 44 of file matrix3x3.h.

Referenced by Determinant(), Inverse(), Matrix3x3(), operator *(), operator+=(), operator-=(), toString(), and Transpose().

double Matrix3x3::e13 [protected]
 

Definition at line 44 of file matrix3x3.h.

Referenced by Determinant(), Inverse(), Matrix3x3(), operator *(), operator+=(), operator-=(), toString(), and Transpose().

double Matrix3x3::e21 [protected]
 

Definition at line 44 of file matrix3x3.h.

Referenced by Determinant(), Inverse(), Matrix3x3(), operator *(), operator+=(), operator-=(), toString(), and Transpose().

double Matrix3x3::e22 [protected]
 

Definition at line 44 of file matrix3x3.h.

Referenced by Determinant(), Inverse(), Matrix3x3(), operator *(), operator+=(), operator-=(), toString(), and Transpose().

double Matrix3x3::e23 [protected]
 

Definition at line 44 of file matrix3x3.h.

Referenced by Determinant(), Inverse(), Matrix3x3(), operator *(), operator+=(), operator-=(), toString(), and Transpose().

double Matrix3x3::e31 [protected]
 

Definition at line 44 of file matrix3x3.h.

Referenced by Determinant(), Inverse(), Matrix3x3(), operator *(), operator+=(), operator-=(), toString(), and Transpose().

double Matrix3x3::e32 [protected]
 

Definition at line 44 of file matrix3x3.h.

Referenced by Determinant(), Inverse(), Matrix3x3(), operator *(), operator+=(), operator-=(), toString(), and Transpose().

double Matrix3x3::e33 [protected]
 

Definition at line 44 of file matrix3x3.h.

Referenced by Determinant(), Inverse(), Matrix3x3(), operator *(), operator+=(), operator-=(), toString(), and Transpose().


The documentation for this class was generated from the following files:
Generated on Mon Jun 17 19:54:17 2002 for Svas Server by doxygen1.2.16