Main Page   Namespace List   Class Hierarchy   Compound List   File List   Header Files   Sources   Namespace Members   Compound Members   File Members  

matrix2x2.h File Reference

Contains the declarations of the matrix class and its associated functions. More...


Compounds

class  matrix2x2

Functions

bool operator== ( const matrix2x2 &a, const matrix2x2 &b )
matrix2x2 operator- ( const matrix2x2 &a, const matrix2x2 &b )
matrix2x2 operator- ( const matrix2x2 &a )
matrix2x2 operator * ( const double k, const matrix2x2 &x )
matrix2x2 operator * ( const matrix2x2 &x, const double k )
vector2 operator * ( const matrix2x2 &M, const vector2 &x )
matrix2x2 operator/ ( const matrix2x2 &x, const double k )
matrix2x2 operator+ ( const matrix2x2 &x, const matrix2x2 &y )
matrix2x2operator+= ( matrix2x2 &x, const matrix2x2 &y )
matrix2x2operator-= ( matrix2x2 &x, const matrix2x2 &y )
matrix2x2operator *= ( matrix2x2 &x, const double k )
matrix2x2operator *= ( vector2 &x, const matrix2x2 &M )
double det ( const matrix2x2 &v )
Calculate the determinant of a matrix. More...

void transpose ( matrix2x2 &m )
Transpose of a matrix. More...

matrix2x2 transpose ( const matrix2x2 &m )
Calculate the transpose of a matrix. More...

matrix2x2 operator * ( const double k, const matrix2x2 &v )
vector2 operator * ( const matrix2x2 &M, const vector2 &x )
matrix2x2operator+= ( matrix2x2 &a, const matrix2x2 &b )
matrix2x2operator-= ( matrix2x2 &a, const matrix2x2 &b )


Detailed Description

Contains the declarations of the matrix class and its associated functions.

The functions provide numerous overloaded arithmetic operators, so matrix calculations can be written in a natural way.

Author(s):
$Author: ben $
Version:
$Revision: 6.4 $
Date:
$Date: 2002/07/06 17:41:51 $

Definition in file matrix2x2.h.


Function Documentation

bool operator== (const matrix2x2 & a, const matrix2x2 & b) [inline]

Definition at line 299 of file matrix2x2.h.

matrix2x2 operator- (const matrix2x2 & a, const matrix2x2 & b) [inline]

Definition at line 307 of file matrix2x2.h.

matrix2x2 operator- (const matrix2x2 & a) [inline]

Definition at line 318 of file matrix2x2.h.

matrix2x2 operator * (const double k, const matrix2x2 & v) [inline]

Definition at line 325 of file matrix2x2.h.

matrix2x2 operator * (const matrix2x2 & M, const double k) [inline]

Definition at line 152 of file matrix2x2.h.

vector2 operator * (const matrix2x2 & M, const vector2 & x) [inline]

Definition at line 336 of file matrix2x2.h.

matrix2x2 operator/ (const matrix2x2 & v, const double k) [inline]

Definition at line 388 of file matrix2x2.h.

matrix2x2 operator+ (const matrix2x2 & a, const matrix2x2 & b) [inline]

Definition at line 347 of file matrix2x2.h.

matrix2x2 & operator+= (matrix2x2 & a, const matrix2x2 & b) [inline]

Definition at line 358 of file matrix2x2.h.

matrix2x2 & operator-= (matrix2x2 & a, const matrix2x2 & b) [inline]

Definition at line 368 of file matrix2x2.h.

matrix2x2 & operator *= (matrix2x2 & a, const double k) [inline]

Definition at line 378 of file matrix2x2.h.

matrix2x2 & operator *= (vector2 & a, const matrix2x2 & M) [inline]

double det (const matrix2x2 & v) [inline]

Calculate the determinant of a matrix.

Parameters:
v   the matrix
Returns:
the determinant of the matrix.

Definition at line 398 of file matrix2x2.h.

void transpose (matrix2x2 & m) [inline]

Transpose of a matrix.

Parameters:
m   the matrix
Return values:
the   transpose of the matrix.

Definition at line 405 of file matrix2x2.h.

matrix2x2 transpose (const matrix2x2 & m) [inline]

Calculate the transpose of a matrix.

Parameters:
v   the matrix
Returns:
the transpose of the matrix.

Definition at line 412 of file matrix2x2.h.

vector<double> operator *<double> (const double k, const matrix2x2 & v) [inline]

Definition at line 325 of file matrix2x2.h.

vector2 operator * (const matrix2x2 & M, const vector2 & x) [inline]

Definition at line 336 of file matrix2x2.h.

matrix2x2 & operator+= (matrix2x2 & a, const matrix2x2 & b) [inline]

Definition at line 358 of file matrix2x2.h.

matrix2x2 & operator-= (matrix2x2 & a, const matrix2x2 & b) [inline]

Definition at line 368 of file matrix2x2.h.


Generated at Sun Jul 14 20:38:05 2002 for Mapper by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999