クラス テンプレート TNT::Matrix< T >

#include <tnt_cmat.h>

すべてのメンバ一覧

Public 型

typedef Subscript size_type
typedef T value_type
typedef T element_type
typedef T * pointer
typedef T * iterator
typedef T & reference
typedef const T * const_iterator
typedef const T & const_reference

Public メソッド

Subscript lbound () const
 operator T ** ()
 operator T ** () const
Subscript size () const
 Matrix ()
 Matrix (const Matrix< T > &A)
 Matrix (Subscript M, Subscript N, const T &value=T())
 Matrix (Subscript M, Subscript N, const T *v)
 Matrix (Subscript M, Subscript N, const char *s)
 ~Matrix ()
Matrix< T > & newsize (Subscript M, Subscript N)
Matrix< T > & operator= (const Matrix< T > &A)
Matrix< T > & operator= (const T &scalar)
Subscript dim (Subscript d) const
Subscript num_rows () const
Subscript num_cols () const
T * operator[] (Subscript i)
const T * operator[] (Subscript i) const
reference operator() (Subscript i)
const_reference operator() (Subscript i) const
reference operator() (Subscript i, Subscript j)
const_reference operator() (Subscript i, Subscript j) const

Protected メソッド

void initialize (Subscript M, Subscript N)
void copy (const T *v)
void set (const T &val)
void destroy ()

Protected 変数

Subscript m_
Subscript n_
Subscript mn_
T * v_
T ** row_
T * vm1_
T ** rowm1_


説明

template<class T>
class TNT::Matrix< T >

tnt_cmat.h39 行で定義されています。


型定義

template<class T >
typedef const T* TNT::Matrix< T >::const_iterator

tnt_cmat.h51 行で定義されています。

template<class T >
typedef const T& TNT::Matrix< T >::const_reference

tnt_cmat.h52 行で定義されています。

template<class T >
typedef T TNT::Matrix< T >::element_type

tnt_cmat.h47 行で定義されています。

template<class T >
typedef T* TNT::Matrix< T >::iterator

tnt_cmat.h49 行で定義されています。

template<class T >
typedef T* TNT::Matrix< T >::pointer

tnt_cmat.h48 行で定義されています。

template<class T >
typedef T& TNT::Matrix< T >::reference

tnt_cmat.h50 行で定義されています。

template<class T >
typedef Subscript TNT::Matrix< T >::size_type

tnt_cmat.h45 行で定義されています。

template<class T >
typedef T TNT::Matrix< T >::value_type

tnt_cmat.h46 行で定義されています。


コンストラクタとデストラクタ

template<class T >
TNT::Matrix< T >::Matrix (  )  [inline]

tnt_cmat.h175 行で定義されています。

template<class T >
TNT::Matrix< T >::Matrix ( const Matrix< T > &  A  )  [inline]

template<class T >
TNT::Matrix< T >::Matrix ( Subscript  M,
Subscript  N,
const T &  value = T() 
) [inline]

tnt_cmat.h183 行で定義されています。

参照先 TNT::Matrix< T >::initialize().

template<class T >
TNT::Matrix< T >::Matrix ( Subscript  M,
Subscript  N,
const T *  v 
) [inline]

tnt_cmat.h189 行で定義されています。

参照先 TNT::Matrix< T >::copy(), と TNT::Matrix< T >::initialize().

template<class T >
TNT::Matrix< T >::Matrix ( Subscript  M,
Subscript  N,
const char *  s 
) [inline]

tnt_cmat.h195 行で定義されています。

参照先 TNT::Matrix< T >::initialize(), と TNT::Matrix< T >::row_.

template<class T >
TNT::Matrix< T >::~Matrix (  )  [inline]

tnt_cmat.h210 行で定義されています。

参照先 TNT::Matrix< T >::destroy().


関数

template<class T >
void TNT::Matrix< T >::copy ( const T *  v  )  [inline, protected]

template<class T >
void TNT::Matrix< T >::destroy (  )  [inline, protected]

template<class T >
Subscript TNT::Matrix< T >::dim ( Subscript  d  )  const [inline]

tnt_cmat.h259 行で定義されています。

参照先 TNT::Matrix< T >::m_, と TNT::Matrix< T >::n_.

template<class T >
void TNT::Matrix< T >::initialize ( Subscript  M,
Subscript  N 
) [inline, protected]

template<class T >
Subscript TNT::Matrix< T >::lbound (  )  const [inline]

tnt_cmat.h54 行で定義されています。

template<class T >
Matrix<T>& TNT::Matrix< T >::newsize ( Subscript  M,
Subscript  N 
) [inline]

template<class T >
Subscript TNT::Matrix< T >::num_cols (  )  const [inline]

template<class T >
Subscript TNT::Matrix< T >::num_rows (  )  const [inline]

template<class T >
TNT::Matrix< T >::operator T ** (  )  const [inline]

tnt_cmat.h168 行で定義されています。

参照先 TNT::Matrix< T >::row_.

template<class T >
TNT::Matrix< T >::operator T ** (  )  [inline]

tnt_cmat.h167 行で定義されています。

参照先 TNT::Matrix< T >::row_.

template<class T >
const_reference TNT::Matrix< T >::operator() ( Subscript  i,
Subscript  j 
) const [inline]

tnt_cmat.h325 行で定義されています。

参照先 TNT::Matrix< T >::m_, TNT::Matrix< T >::n_, と TNT::Matrix< T >::rowm1_.

template<class T >
reference TNT::Matrix< T >::operator() ( Subscript  i,
Subscript  j 
) [inline]

tnt_cmat.h312 行で定義されています。

参照先 TNT::Matrix< T >::m_, TNT::Matrix< T >::n_, と TNT::Matrix< T >::rowm1_.

template<class T >
const_reference TNT::Matrix< T >::operator() ( Subscript  i  )  const [inline]

tnt_cmat.h301 行で定義されています。

参照先 TNT::Matrix< T >::mn_, と TNT::Matrix< T >::vm1_.

template<class T >
reference TNT::Matrix< T >::operator() ( Subscript  i  )  [inline]

tnt_cmat.h292 行で定義されています。

参照先 TNT::Matrix< T >::mn_, と TNT::Matrix< T >::vm1_.

template<class T >
Matrix<T>& TNT::Matrix< T >::operator= ( const T &  scalar  )  [inline]

tnt_cmat.h252 行で定義されています。

template<class T >
Matrix<T>& TNT::Matrix< T >::operator= ( const Matrix< T > &  A  )  [inline]

template<class T >
const T* TNT::Matrix< T >::operator[] ( Subscript  i  )  const [inline]

tnt_cmat.h283 行で定義されています。

参照先 TNT::Matrix< T >::m_, と TNT::Matrix< T >::row_.

template<class T >
T* TNT::Matrix< T >::operator[] ( Subscript  i  )  [inline]

tnt_cmat.h274 行で定義されています。

参照先 TNT::Matrix< T >::m_, と TNT::Matrix< T >::row_.

template<class T >
void TNT::Matrix< T >::set ( const T &  val  )  [inline, protected]

tnt_cmat.h121 行で定義されています。

参照先 TNT::Matrix< T >::m_, TNT::Matrix< T >::n_, と TNT::Matrix< T >::v_.

template<class T >
Subscript TNT::Matrix< T >::size (  )  const [inline]

tnt_cmat.h171 行で定義されています。

参照先 TNT::Matrix< T >::mn_.


変数

template<class T >
Subscript TNT::Matrix< T >::m_ [protected]

template<class T >
Subscript TNT::Matrix< T >::mn_ [protected]

template<class T >
Subscript TNT::Matrix< T >::n_ [protected]

template<class T >
T** TNT::Matrix< T >::row_ [protected]

template<class T >
T** TNT::Matrix< T >::rowm1_ [protected]

template<class T >
T* TNT::Matrix< T >::v_ [protected]

template<class T >
T* TNT::Matrix< T >::vm1_ [protected]

tnt_cmat.h62 行で定義されています。

参照元 TNT::Matrix< T >::initialize(), と TNT::Matrix< T >::operator()().


このクラスの説明は次のファイルから生成されました:

TNTに対してThu Nov 13 00:45:18 2008に生成されました。  doxygen 1.5.7.1