Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Matrix Class Reference

This is a very simple 3x3 matrix class. More...

#include <Matrix.hpp>

List of all members.

Public Member Functions

float Cofactor (int i, int j) const
Vect3Df operator * (const Vect3Df &) const
Matrix operator * (const Matrix &other) const
void operator *= (const Matrix &other)
Matrix operator+ (const Matrix &other) const
Matrix operator- (const Matrix &other) const
void Inverse ()
void Transpose ()
float MaxElement ()
float operator() (int i, int j) const
float & operator() (int i, int j)
void SetToIdentity ()
void SetToZero ()
void SetToDiagonal (float x, float y, float z)
bool operator== (const Matrix &other)
bool operator!= (const Matrix &other)
void operator= (const Matrix &other)
 Matrix (const Matrix &other)
 Matrix (const float *initArray)
 Matrix (float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22)

Private Attributes

float data [3][3]

Detailed Description

This is a very simple 3x3 matrix class.

uBLAS and most linear algebra packages are very inefficient for small matrices. We should use tvmet, but I am waiting for debian packages

Definition at line 30 of file Matrix.hpp.

The documentation for this class was generated from the following files:
Generated on Fri Jun 17 13:36:19 2005 for ImLib3D by  doxygen 1.4.2