arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

gutz::mat2< T > Class Template Reference

#include <mat2.h>

List of all members.

template<class T>
class gutz::mat2< T >


Public Member Functions

 mat2 ()
 mat2 (const T)
 mat2 (const T *)
 mat2 (const T, const T, const T, const T)
 mat2 (const vec2< T > &, const vec2< T > &)
 mat2 (const mat2< T > &M)
 ~mat2 ()
mat2operator+= (const mat2 &)
mat2operator-= (const mat2 &)
mat2operator *= (const T)
mat2operator/= (const T)
mat2operator *= (const mat2 &)
mat2 operator+ (const mat2 &) const
mat2 operator- (const mat2 &) const
mat2 operator- () const
mat2 operator * (const T) const
mat2 operator/ (const T) const
mat2 operator * (const mat2 &) const
vec2< T > operator * (const vec2< T > &) const
T * v ()
const T * v () const
void set (const T, const T, const T, const T)
T & operator[] (const int)
void zero ()
void eye ()
vec2< T > & x () const
vec2< T > & y () const
mat2 inv () const
mat2 tp () const

Public Attributes

m [4]

Constructor & Destructor Documentation

template<class T>
gutz::mat2< T >::mat2  )  [inline]
 

Definition at line 151 of file mat2.h.

References gutz::mat2< T >::m.

Referenced by gutz::mat2< T >::inv(), gutz::mat2< T >::operator *(), gutz::mat2< T >::operator+(), gutz::mat2< T >::operator-(), gutz::mat2< T >::operator/(), and gutz::mat2< T >::tp().

template<class T>
gutz::mat2< T >::mat2 const  T  )  [inline]
 

Definition at line 158 of file mat2.h.

References gutz::mat2< T >::m.

template<class T>
gutz::mat2< T >::mat2 const T *   )  [inline]
 

Definition at line 165 of file mat2.h.

References gutz::mat2< T >::m, and v.

template<class T>
gutz::mat2< T >::mat2 const  T,
const  T,
const  T,
const  T
[inline]
 

Definition at line 172 of file mat2.h.

References gutz::mat2< T >::m.

template<class T>
gutz::mat2< T >::mat2 const vec2< T > &  ,
const vec2< T > & 
[inline]
 

Definition at line 180 of file mat2.h.

References gutz::mat2< T >::m, gutz::vec2< T >::x, and gutz::vec2< T >::y.

template<class T>
gutz::mat2< T >::mat2 const mat2< T > &  M  )  [inline]
 

Definition at line 187 of file mat2.h.

References gutz::mat2< T >::m.

template<class T>
gutz::mat2< T >::~mat2  )  [inline]
 

Definition at line 43 of file mat2.h.


Member Function Documentation

template<class T>
void gutz::mat2< T >::eye  )  [inline]
 

Definition at line 342 of file mat2.h.

References gutz::mat2< T >::m.

template<class T>
mat2< T > gutz::mat2< T >::inv  )  const [inline]
 

Definition at line 364 of file mat2.h.

References gutz::mat2< T >::m, and gutz::mat2< T >::mat2().

template<class T>
vec2< T > gutz::mat2< T >::operator * const vec2< T > &   )  const [inline]
 

Definition at line 296 of file mat2.h.

References gutz::mat2< T >::m, and v.

template<class T>
mat2< T > gutz::mat2< T >::operator * const mat2< T > &   )  const [inline]
 

Definition at line 288 of file mat2.h.

References gutz::mat2< T >::m, and gutz::mat2< T >::mat2().

template<class T>
mat2< T > gutz::mat2< T >::operator * const  T  )  const [inline]
 

Definition at line 271 of file mat2.h.

References gutz::mat2< T >::m, and gutz::mat2< T >::mat2().

template<class T>
mat2< T > & gutz::mat2< T >::operator *= const mat2< T > &   )  [inline]
 

Definition at line 235 of file mat2.h.

References gutz::mat2< T >::m.

template<class T>
mat2< T > & gutz::mat2< T >::operator *= const  T  )  [inline]
 

Definition at line 216 of file mat2.h.

References gutz::mat2< T >::m.

template<class T>
mat2< T > gutz::mat2< T >::operator+ const mat2< T > &   )  const [inline]
 

Definition at line 247 of file mat2.h.

References gutz::mat2< T >::m, and gutz::mat2< T >::mat2().

template<class T>
mat2< T > & gutz::mat2< T >::operator+= const mat2< T > &   )  [inline]
 

Definition at line 198 of file mat2.h.

References gutz::mat2< T >::m.

template<class T>
mat2< T > gutz::mat2< T >::operator-  )  const [inline]
 

Definition at line 263 of file mat2.h.

References gutz::mat2< T >::m, and gutz::mat2< T >::mat2().

template<class T>
mat2< T > gutz::mat2< T >::operator- const mat2< T > &   )  const [inline]
 

Definition at line 255 of file mat2.h.

References gutz::mat2< T >::m, and gutz::mat2< T >::mat2().

template<class T>
mat2< T > & gutz::mat2< T >::operator-= const mat2< T > &   )  [inline]
 

Definition at line 207 of file mat2.h.

References gutz::mat2< T >::m.

template<class T>
mat2< T > gutz::mat2< T >::operator/ const  T  )  const [inline]
 

Definition at line 279 of file mat2.h.

References gutz::mat2< T >::m, and gutz::mat2< T >::mat2().

template<class T>
mat2< T > & gutz::mat2< T >::operator/= const  T  )  [inline]
 

Definition at line 225 of file mat2.h.

References gutz::mat2< T >::m.

template<class T>
T & gutz::mat2< T >::operator[] const  int  )  [inline]
 

Definition at line 327 of file mat2.h.

References gutz::mat2< T >::v().

template<class T>
void gutz::mat2< T >::set const  T,
const  T,
const  T,
const  T
[inline]
 

Definition at line 318 of file mat2.h.

References gutz::mat2< T >::m.

template<class T>
mat2< T > gutz::mat2< T >::tp  )  const [inline]
 

Definition at line 373 of file mat2.h.

References gutz::mat2< T >::m, and gutz::mat2< T >::mat2().

template<class T>
const T * gutz::mat2< T >::v  )  const [inline]
 

Definition at line 310 of file mat2.h.

References gutz::mat2< T >::m.

template<class T>
T * gutz::mat2< T >::v  )  [inline]
 

Definition at line 303 of file mat2.h.

References gutz::mat2< T >::m.

Referenced by gutz::mat2< T >::operator[]().

template<class T>
vec2< T > & gutz::mat2< T >::x  )  const [inline]
 

Definition at line 350 of file mat2.h.

References gutz::mat2< T >::m.

template<class T>
vec2< T > & gutz::mat2< T >::y  )  const [inline]
 

Definition at line 357 of file mat2.h.

References gutz::mat2< T >::m.

template<class T>
void gutz::mat2< T >::zero  )  [inline]
 

Definition at line 334 of file mat2.h.

References gutz::mat2< T >::m.


Member Data Documentation

template<class T>
T gutz::mat2< T >::m[4]
 

Definition at line 75 of file mat2.h.

Referenced by gutz::mat2< T >::eye(), gutz::mat2< T >::inv(), gutz::mat2< T >::mat2(), gutz::mat3< T >::mat3(), gutz::operator *(), gutz::mat2< T >::operator *(), gutz::mat2< T >::operator *=(), gutz::mat2< T >::operator+(), gutz::mat2< T >::operator+=(), gutz::mat2< T >::operator-(), gutz::mat2< T >::operator-=(), gutz::mat2< T >::operator/(), gutz::mat2< T >::operator/=(), gutz::operator>>(), gutz::mat3< T >::rot(), gutz::mat2< T >::set(), gutz::mat2< T >::tp(), gutz::mat2< T >::v(), gutz::mat2< T >::x(), gutz::mat2< T >::y(), and gutz::mat2< T >::zero().


The documentation for this class was generated from the following file:
Send questions, comments, and bug reports to:
jmk