matrix< T, 3, 3 > Class Template Reference

#include <matrix3.h>

Collaboration diagram for matrix< T, 3, 3 >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef T value_type

Public Member Functions

 matrix ()
 matrix (T a0, T a1, T a2, T a3, T a4, T a5, T a6, T a7, T a8)
 matrix (const T *m)
 matrix (const matrix< T, 3, 3 > &m)
matrix< T, 3, 3 > operator+= (const matrix< T, 3, 3 > &m)
matrix< T, 3, 3 > operator-= (const matrix< T, 3, 3 > &m)
matrix< T, 3, 3 > operator *= (const T &num)
matrix< T, 3, 3 > operator/= (const T &num)
const bool operator== (const matrix< T, 3, 3 > &m) const
const bool operator!= (const matrix< T, 3, 3 > &m) const
const matrix< T, 3, 3 > operator- () const
const matrix< T, 3, 3 > operator * (const T &num) const
const matrix< T, 3, 3 > operator/ (const T &num) const
void row (unsigned int pRow, const vectorn< T, 3 > &pV)
void column (unsigned int pColumn, const vectorn< T, 3 > &pV)
const vectorn< T, 3 > row (int idx)
const vectorn< T, 3 > column (int idx)
void normalize_column ()
 operator T * ()
 operator const T * () const

Public Attributes

xx
xy
xz
yx
yy
yz
zx
zy
zz

Friends

std::ostream & operator<< (std::ostream &out, const matrix< T, 3, 3 > &m)
matrix< T, 3, 3 > operator+ (const matrix< T, 3, 3 > &m1, const matrix< T, 3, 3 > &m2)
matrix< T, 3, 3 > operator- (const matrix< T, 3, 3 > &m1, const matrix< T, 3, 3 > &m2)
const matrix< T, 3, 3 > operator * (const T &s, const matrix< T, 3, 3 > &m)
matrix< T, 3, 3 > operator * (const matrix< T, 3, 3 > &m1, const matrix< T, 3, 3 > &m2)
const vectorn< T, 3 > operator * (const matrix< T, 3, 3 > &m, const vectorn< T, 3 > &v)

Detailed Description

template<typename T>
class matrix< T, 3, 3 >

Author:
Cengiz Terzibas


Member Typedef Documentation

template<typename T>
typedef T matrix< T, 3, 3 >::value_type


Constructor & Destructor Documentation

template<typename T>
matrix< T, 3, 3 >::matrix (  )  [inline]

template<typename T>
matrix< T, 3, 3 >::matrix ( a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8 
) [inline]

template<typename T>
matrix< T, 3, 3 >::matrix ( const T *  m  )  [inline]

template<typename T>
matrix< T, 3, 3 >::matrix ( const matrix< T, 3, 3 > &  m  )  [inline]


Member Function Documentation

template<typename T>
matrix<T,3,3> matrix< T, 3, 3 >::operator+= ( const matrix< T, 3, 3 > &  m  )  [inline]

template<typename T>
matrix<T,3,3> matrix< T, 3, 3 >::operator-= ( const matrix< T, 3, 3 > &  m  )  [inline]

template<typename T>
matrix<T,3,3> matrix< T, 3, 3 >::operator *= ( const T &  num  )  [inline]

template<typename T>
matrix<T,3,3> matrix< T, 3, 3 >::operator/= ( const T &  num  )  [inline]

template<typename T>
const bool matrix< T, 3, 3 >::operator== ( const matrix< T, 3, 3 > &  m  )  const [inline]

template<typename T>
const bool matrix< T, 3, 3 >::operator!= ( const matrix< T, 3, 3 > &  m  )  const [inline]

template<typename T>
const matrix<T,3,3> matrix< T, 3, 3 >::operator- (  )  const [inline]

template<typename T>
const matrix<T,3,3> matrix< T, 3, 3 >::operator * ( const T &  num  )  const [inline]

template<typename T>
const matrix<T,3,3> matrix< T, 3, 3 >::operator/ ( const T &  num  )  const [inline]

template<typename T>
void matrix< T, 3, 3 >::row ( unsigned int  pRow,
const vectorn< T, 3 > &  pV 
) [inline]

template<typename T>
void matrix< T, 3, 3 >::column ( unsigned int  pColumn,
const vectorn< T, 3 > &  pV 
) [inline]

template<typename T>
const vectorn<T,3> matrix< T, 3, 3 >::row ( int  idx  )  [inline]

template<typename T>
const vectorn<T,3> matrix< T, 3, 3 >::column ( int  idx  )  [inline]

template<typename T>
void matrix< T, 3, 3 >::normalize_column (  )  [inline]

template<typename T>
matrix< T, 3, 3 >::operator T * (  )  [inline]

template<typename T>
matrix< T, 3, 3 >::operator const T * (  )  const [inline]


Friends And Related Function Documentation

template<typename T>
std::ostream& operator<< ( std::ostream &  out,
const matrix< T, 3, 3 > &  m 
) [friend]

template<typename T>
matrix<T,3,3> operator+ ( const matrix< T, 3, 3 > &  m1,
const matrix< T, 3, 3 > &  m2 
) [friend]

template<typename T>
matrix<T,3,3> operator- ( const matrix< T, 3, 3 > &  m1,
const matrix< T, 3, 3 > &  m2 
) [friend]

template<typename T>
const matrix<T,3,3> operator * ( const T &  s,
const matrix< T, 3, 3 > &  m 
) [friend]

template<typename T>
matrix<T,3,3> operator * ( const matrix< T, 3, 3 > &  m1,
const matrix< T, 3, 3 > &  m2 
) [friend]

template<typename T>
const vectorn<T,3> operator * ( const matrix< T, 3, 3 > &  m,
const vectorn< T, 3 > &  v 
) [friend]


Member Data Documentation

template<typename T>
T matrix< T, 3, 3 >::xx

template<typename T>
T matrix< T, 3, 3 >::xy

template<typename T>
T matrix< T, 3, 3 >::xz

template<typename T>
T matrix< T, 3, 3 >::yx

template<typename T>
T matrix< T, 3, 3 >::yy

template<typename T>
T matrix< T, 3, 3 >::yz

template<typename T>
T matrix< T, 3, 3 >::zx

template<typename T>
T matrix< T, 3, 3 >::zy

template<typename T>
T matrix< T, 3, 3 >::zz


The documentation for this class was generated from the following file:
Generated on Mon Sep 10 17:42:12 2007 for TinyMath by  doxygen 1.5.2