Essentia
2.1-beta6-dev
|
#include <tnt_vec.h>
Public Types | |
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 Member Functions | |
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 Member Functions | |
void | initialize (Subscript N) |
void | copy (const T *v) |
void | set (const T &val) |
void | destroy () |
Protected Attributes | |
T * | v_ |
T * | vm1_ |
Subscript | n_ |
[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.
typedef const T* const_iterator |
typedef const T& const_reference |
typedef T element_type |
typedef T* iterator |
typedef T* pointer |
typedef T& reference |
typedef T value_type |
|
inline |
References Vector< T >::destroy().
|
inline |
References Vector< T >::copy(), Vector< T >::initialize(), Vector< T >::n_, and Vector< T >::v_.
References Vector< T >::initialize(), and Vector< T >::set().
References Vector< T >::copy(), and Vector< T >::initialize().
References Vector< T >::initialize(), and Vector< T >::v_.
|
inline |
References Vector< T >::v_.
|
inline |
References Vector< T >::v_.
|
inlineprotected |
References Vector< T >::n_, and Vector< T >::v_.
Referenced by Vector< T >::operator=(), and Vector< T >::Vector().
|
inlineprotected |
References NULL, Vector< T >::v_, and Vector< T >::vm1_.
Referenced by Vector< T >::newsize(), Vector< T >::operator=(), and Vector< T >::~Vector().
|
inline |
References Vector< T >::n_.
Referenced by TNT::dot_prod(), TNT::matmult(), TNT::operator*(), TNT::operator+(), TNT::operator-(), and TNT::operator<<().
|
inline |
References Vector< T >::n_, and Vector< T >::v_.
|
inline |
References Vector< T >::n_, and Vector< T >::v_.
|
inlineprotected |
References Vector< T >::n_, NULL, Vector< T >::v_, and Vector< T >::vm1_.
Referenced by Vector< T >::newsize(), Vector< T >::operator=(), and Vector< T >::Vector().
|
inline |
References Vector< T >::destroy(), Vector< T >::initialize(), and Vector< T >::n_.
Referenced by TNT::operator>>().
References Vector< T >::n_, and Vector< T >::vm1_.
|
inline |
References Vector< T >::n_, and Vector< T >::vm1_.
|
inline |
References Vector< T >::set().
References Vector< T >::copy(), Vector< T >::destroy(), Vector< T >::initialize(), Vector< T >::n_, and Vector< T >::v_.
References Vector< T >::n_, and Vector< T >::v_.
|
inline |
References Vector< T >::n_, and Vector< T >::v_.
|
inlineprotected |
References Vector< T >::n_, and Vector< T >::v_.
Referenced by Vector< T >::operator=(), and Vector< T >::Vector().
|
inline |
References Vector< T >::n_.
Referenced by TNT::operator>>().
|
protected |
|
protected |
|
protected |
Referenced by Vector< T >::destroy(), Vector< T >::initialize(), and Vector< T >::operator()().