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

#include <tnt_vec.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
iterator begin ()
iterator end ()
const iterator begin () const
const iterator end () const
 ~Vector ()
 Vector ()
 Vector (const Vector< T > &A)
 Vector (Subscript N, const T &value=T())
 Vector (Subscript N, const T *v)
 Vector (Subscript N, char *s)
Vector< T > & newsize (Subscript N)
Vector< T > & operator= (const Vector< T > &A)
Vector< T > & operator= (const T &scalar)
Subscript dim () const
Subscript size () const
reference operator() (Subscript i)
const_reference operator() (Subscript i) const
reference operator[] (Subscript i)
const_reference operator[] (Subscript i) const

Protected メソッド

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

Protected 変数

T * v_
T * vm1_
Subscript n_


説明

template<class T>
class TNT::Vector< T >

[Deprecatred] Value-based vector class from pre-1.0 TNT version. Kept here for backward compatiblity, but should use the newer TNT::Array1D classes instead.

tnt_vec.h42 行で定義されています。


型定義

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

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

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

tnt_vec.h55 行で定義されています。

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

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

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

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

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

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

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

tnt_vec.h53 行で定義されています。

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

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

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

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


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

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

tnt_vec.h158 行で定義されています。

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

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

tnt_vec.h165 行で定義されています。

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

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

tnt_vec.h173 行で定義されています。

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

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

tnt_vec.h179 行で定義されています。

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

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

tnt_vec.h185 行で定義されています。

参照先 TNT::Vector< T >::initialize(), と TNT::Vector< T >::v_.


関数

template<class T >
const iterator TNT::Vector< T >::begin (  )  const [inline]

tnt_vec.h153 行で定義されています。

参照先 TNT::Vector< T >::v_.

template<class T >
iterator TNT::Vector< T >::begin (  )  [inline]

tnt_vec.h151 行で定義されています。

参照先 TNT::Vector< T >::v_.

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

tnt_vec.h79 行で定義されています。

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

参照元 TNT::Vector< T >::operator=(), と TNT::Vector< T >::Vector().

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

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

tnt_vec.h236 行で定義されています。

参照先 TNT::Vector< T >::n_.

参照元 TNT::dot_prod(), TNT::matmult(), TNT::operator*(), TNT::operator+(), と TNT::operator-().

template<class T >
const iterator TNT::Vector< T >::end (  )  const [inline]

tnt_vec.h154 行で定義されています。

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

template<class T >
iterator TNT::Vector< T >::end (  )  [inline]

tnt_vec.h152 行で定義されています。

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

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

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

tnt_vec.h57 行で定義されています。

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

tnt_vec.h199 行で定義されています。

参照先 TNT::Vector< T >::destroy(), TNT::Vector< T >::initialize(), と TNT::Vector< T >::n_.

参照元 TNT::operator>>().

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

tnt_vec.h256 行で定義されています。

参照先 TNT::Vector< T >::n_, と TNT::Vector< T >::vm1_.

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

tnt_vec.h247 行で定義されています。

参照先 TNT::Vector< T >::n_, と TNT::Vector< T >::vm1_.

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

tnt_vec.h230 行で定義されています。

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

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

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

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

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

tnt_vec.h265 行で定義されています。

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

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

tnt_vec.h105 行で定義されています。

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

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

tnt_vec.h241 行で定義されています。

参照先 TNT::Vector< T >::n_.

参照元 TNT::operator>>().


変数

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

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

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


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

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