matrix< T, 4, 4 > Class Template Reference

#include <matrix4.h>

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

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, T a9, T a10, T a11, T a12, T a13, T a14, T a15)
 matrix (const matrix< T, 4, 4 > &m)
 matrix (const T *m)
 matrix (const matrix< T, 3, 3 > &m)
matrix< T, 4, 4 > operator+= (const matrix< T, 4, 4 > &m)
matrix< T, 4, 4 > operator-= (matrix< T, 4, 4 > &m)
matrix< T, 4, 4 > operator *= (const T &num)
matrix< T, 4, 4 > operator/= (const T &num)
const bool operator== (const matrix< T, 4, 4 > &m) const
const bool operator!= (const matrix< T, 4, 4 > &m) const
const matrix< T, 4, 4 > operator- () const
const matrix< T, 4, 4 > operator * (const T &num) const
const matrix< T, 4, 4 > operator/ (const T &num) const
void row (unsigned int pRow, const vectorn< T, 4 > &pV)
vectorn< T, 4 > row (unsigned int pRow)
void column (unsigned int pColumn, const vectorn< T, 4 > &pV)
vectorn< T, 4 > column (unsigned int pColumn)
const vectorn< T, 4 > row (int idx)
const vectorn< T, 4 > column (int idx)
 operator T * ()
 operator const T * () const

Public Attributes

xx
xy
xz
xw
yx
yy
yz
yw
zx
zy
zz
zw
wx
wy
wz
ww

Friends

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

Detailed Description

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

Author:
Cengiz Terzibas


Member Typedef Documentation

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


Constructor & Destructor Documentation

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

template<typename T>
matrix< T, 4, 4 >::matrix ( a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
a10,
a11,
a12,
a13,
a14,
a15 
) [inline]

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

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

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


Member Function Documentation

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

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

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

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

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

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

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

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

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

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

template<typename T>
vectorn<T,4> matrix< T, 4, 4 >::row ( unsigned int  pRow  )  [inline]

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

template<typename T>
vectorn<T,4> matrix< T, 4, 4 >::column ( unsigned int  pColumn  )  [inline]

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

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

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

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


Friends And Related Function Documentation

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

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

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

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

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

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


Member Data Documentation

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

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

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

template<typename T>
T matrix< T, 4, 4 >::xw

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

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

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

template<typename T>
T matrix< T, 4, 4 >::yw

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

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

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

template<typename T>
T matrix< T, 4, 4 >::zw

template<typename T>
T matrix< T, 4, 4 >::wx

template<typename T>
T matrix< T, 4, 4 >::wy

template<typename T>
T matrix< T, 4, 4 >::wz

template<typename T>
T matrix< T, 4, 4 >::ww


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