Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Spr::TMatrix3< T > Class Template Reference

3x3行列クラス. More...

#include <TinyMat.h>

List of all members.

初期化と構築

Public Types

Public Member Functions

基底ベクトルへのアクセス
要素へのアクセス

Detailed Description

template<class T>
class Spr::TMatrix3< T >

3x3行列クラス.

Definition at line 118 of file TinyMat.h.


Member Typedef Documentation

template<class T>
typedef TMatrix3 Spr::TMatrix3< T >::this_type
 

基本的なメンバの定義 ::DEF_MATRIX_BASIC_MEMBER

Definition at line 124 of file TinyMat.h.


Constructor & Destructor Documentation

template<class T>
template<class BX, class BY, class BZ>
Spr::TMatrix3< T >::TMatrix3 const PTM::TVectorBase<(3), BX > &  exi,
const PTM::TVectorBase<(3), BY > &  eyi,
const PTM::TVectorBase<(3), BZ > &  ezi
[inline]
 

コンストラクタ(基底ベクトルを指定)

Definition at line 191 of file TinyMat.h.

template<class T>
Spr::TMatrix3< T >::TMatrix3 m11,
m12,
m13,
m21,
m22,
m23,
m31,
m32,
m33
[inline]
 

コンストラクタ(成分を指定)

Definition at line 195 of file TinyMat.h.


Member Function Documentation

template<class T>
template<class B>
this_type& Spr::TMatrix3< T >::operator+= const PTM::MatrixImp< B > &  b  )  [inline]
 

+=演算子(*this = *this + b). \ param b 次元が等しい行列

Definition at line 125 of file TinyMat.h.

template<class T>
template<class B>
this_type& Spr::TMatrix3< T >::operator-= const PTM::MatrixImp< B > &  b  )  [inline]
 

-=演算子(*this = *this - b). param b 次元が等しい行列

Definition at line 125 of file TinyMat.h.

template<class T>
ret_type Spr::TMatrix3< T >::operator-  )  [inline]
 

  • 演算子 (return -*this).

Definition at line 125 of file TinyMat.h.

template<class T>
this_type Spr::TMatrix3< T >::operator *= element_type  b  )  [inline]
 

*=演算子(*this = b * *this). param b 要素型

Definition at line 125 of file TinyMat.h.

template<class T>
this_type Spr::TMatrix3< T >::operator/= element_type  b  )  [inline]
 

/=演算子(*this = *this / b). param b 要素型

Definition at line 125 of file TinyMat.h.

template<class T>
element_type& Spr::TMatrix3< T >::item_impl size_t  i,
size_t  j
[inline]
 

要素のアクセス

Definition at line 135 of file TinyMat.h.

template<class T>
void Spr::TMatrix3< T >::set_default  )  [inline]
 

デフォルトコンストラクタ

Definition at line 188 of file TinyMat.h.

template<class T>
static TMatrix3<T> Spr::TMatrix3< T >::Zero  )  [inline, static]
 

零行列

Definition at line 203 of file TinyMat.h.

template<class T>
static TMatrix3<T> Spr::TMatrix3< T >::Unit  )  [inline, static]
 

単位行列

Definition at line 205 of file TinyMat.h.

template<class T>
static TMatrix3<T> Spr::TMatrix3< T >::Diag element_type  x,
element_type  y,
element_type  z
[inline, static]
 

対角行列

Definition at line 207 of file TinyMat.h.

template<class T>
template<class BA, class BB>
static TMatrix3<T> Spr::TMatrix3< T >::Rot const PTM::TVectorBase<(3), BA > &  a,
const PTM::TVectorBase<(3), BB > &  b,
char  axis = 'x'
[inline, static]
 

回転行列 方向ベクトルで指定

Definition at line 213 of file TinyMat.h.

template<class T>
static TMatrix3<T> Spr::TMatrix3< T >::Rot element_type  th,
char  axis
[inline, static]
 

回転軸で指定

Definition at line 219 of file TinyMat.h.

template<class T>
template<class B>
static TMatrix3<T> Spr::TMatrix3< T >::Rot element_type  th,
const PTM::TVectorBase<(3), B > &  axis
[inline, static]
 

任意軸まわり回転 + + |u^2+(1-u^2)cos(th) uv(1-cos(th))-wsin(th) wu(1-cos(th))+vsin(th)| R = |uv(1-cos(th))+wsin(th) v^2+(1-v^2)cos(th) vw(1-cos(th))-usin(th)| |wu(1-cos(th))-vsin(th) vw(1-cos(th))+usin(th) w^2+(1-w^2)cos(th) | + +

Definition at line 232 of file TinyMat.h.

template<class T>
template<class B>
static TMatrix3<T> Spr::TMatrix3< T >::Rot const PTM::TVectorBase<(4), B > &  q  )  [inline, static]
 

Qutaternionで指定.

Definition at line 239 of file TinyMat.h.

template<class T>
template<class B>
static TMatrix3<T> Spr::TMatrix3< T >::Cross const PTM::TVectorBase<(3), B > &  v  )  [inline, static]
 

外積と等価な行列

Definition at line 247 of file TinyMat.h.


The documentation for this class was generated from the following file:
Generated on Sun Apr 16 02:07:59 2006 for Springhead by  doxygen 1.4.1