 
 
	 
In file ../include/EST_TVector.h:
| template<class T> class EST_TVector | 
| ![[more]](icon1.gif) INLINE unsigned int | vcell_pos (unsigned int c, unsigned int cs) const The memory access rule, in one place for easy reference | ||||||||||||||||||||||
| ![[more]](icon1.gif) INLINE const T& | fast_a_v (int c) const quick method for returning \(x[n]\) | ||||||||||||||||||||||
| ![[more]](icon1.gif) void | set_values (const T* data, int step, int start_c, int num_c) Get and set values from array | ||||||||||||||||||||||
| ![[more]](icon1.gif) void | copy (const EST_TVector<T> &a) private copy function, called from all other copying functions | ||||||||||||||||||||||
| ![[more]](icon1.gif) void | copy_data (const EST_TVector<T> &a) just copy data, no resizing, no size check | ||||||||||||||||||||||
| ![[more]](icon1.gif) void | just_resize (int new_cols, T** old_vals) resize the memory and reset the bounds, but don't set values | ||||||||||||||||||||||
| ![[more]](icon1.gif) void | default_vals () sets data and length to default values (0 in both cases) | ||||||||||||||||||||||
| ![[more]](icon1.gif)  | EST_TVector () default constructor | ||||||||||||||||||||||
| ![[more]](icon1.gif)  | EST_TVector (const EST_TVector<T> &v) copy constructor | ||||||||||||||||||||||
| ![[more]](icon1.gif)  | EST_TVector (int n) "size" constructor - make vector of size n | ||||||||||||||||||||||
| ![[more]](icon1.gif)  | EST_TVector (int, T* memory, int offset=0, int free_when_destroyed=0) construct from memory supplied by caller | ||||||||||||||||||||||
| ![[more]](icon1.gif)  | ~EST_TVector () destructor | ||||||||||||||||||||||
| ![[more]](icon1.gif) void | resize (int n, int set=1) resize vector. | ||||||||||||||||||||||
| ![[more]](icon1.gif) const T* | memory () const For when you absolutely have to have access to the memory | ||||||||||||||||||||||
| ![[more]](icon1.gif)  | access 
 | ||||||||||||||||||||||
| ![[more]](icon1.gif) EST_TVector& | operator= (const EST_TVector &s) assignment operator | ||||||||||||||||||||||
| ![[more]](icon1.gif) void | fill (const T &v) Fill entire array will value <parameter>v</parameter> | ||||||||||||||||||||||
| ![[more]](icon1.gif) void | empty () Fill vector with default value | ||||||||||||||||||||||
| ![[more]](icon1.gif) EST_write_status | save (const EST_String &filename) Save vector to file <parameter>filename</parameter> | ||||||||||||||||||||||
| ![[more]](icon1.gif) int | operator ==  (const EST_TVector &v) const is true if vectors are equal size and all elements are equal | ||||||||||||||||||||||
| ![[more]](icon1.gif) int | operator !=  (const EST_TVector &v) const is true if vectors are not equal size or a single elements isn't equal | ||||||||||||||||||||||
| ![[more]](icon1.gif) void | copy_section (T* dest, int offset=0, int num=-1) const Copy data in and out. | ||||||||||||||||||||||
| ![[more]](icon1.gif) void | sub_vector (EST_TVector<T> &sv, int start_c=0, int len=-1) Create a sub vector | ||||||||||||||||||||||
| ![[more]](icon1.gif) void | integrity () const | 
 T* p_memory
T* p_memory
 unsigned int p_num_columns
unsigned int p_num_columns
 unsigned int p_offset
unsigned int p_offset
 INLINE unsigned int vcell_pos(unsigned int c, unsigned int cs) const
INLINE unsigned int vcell_pos(unsigned int c, unsigned int cs) const 
 INLINE const T& fast_a_v(int c) const
INLINE const T& fast_a_v(int c) const 
 void set_values(const T* data, int step, int start_c, int num_c)
void set_values(const T* data, int step, int start_c, int num_c)
 void copy(const EST_TVector<T> &a)
void copy(const EST_TVector<T> &a)
 void copy_data(const EST_TVector<T> &a)
void copy_data(const EST_TVector<T> &a)
 void just_resize(int new_cols, T** old_vals)
void just_resize(int new_cols, T** old_vals)
 void default_vals()
void default_vals()
 EST_TVector()
 EST_TVector()
 EST_TVector(const EST_TVector<T> &v)
 EST_TVector(const EST_TVector<T> &v)
 EST_TVector(int n)
 EST_TVector(int n)
 EST_TVector(int, T* memory, int offset=0, int free_when_destroyed=0)
 EST_TVector(int, T* memory, int offset=0, int free_when_destroyed=0)
 ~EST_TVector()
 ~EST_TVector()
 static   const T* def_val
static   const T* def_val
 static   T* error_return
static   T* error_return
 void resize(int n, int set=1)
void resize(int n, int set=1)
 const T* memory() const
const T* memory() const 
 access
 access
 int num_columns() const
int num_columns() const 
 int length() const
int length() const 
 int n() const
int n() const 
 INLINE const T& a_no_check(int n) const
INLINE const T& a_no_check(int n) const 
 INLINE T& a_no_check(int n)
INLINE T& a_no_check(int n)
 INLINE const T& a_no_check_1(int n) const
INLINE const T& a_no_check_1(int n) const 
 INLINE T& a_no_check_1(int n)
INLINE T& a_no_check_1(int n)
 const T& a_check(int n) const
const T& a_check(int n) const 
 T& a_check(int n)
T& a_check(int n)
 const T& operator () (int n) const
const T& operator () (int n) const 
 T& operator [] (int n)
T& operator [] (int n)
 EST_TVector& operator=(const EST_TVector &s)
EST_TVector& operator=(const EST_TVector &s)
 void fill(const T &v)
void fill(const T &v)
 void empty()
void empty()
 EST_write_status save(const EST_String &filename)
EST_write_status save(const EST_String &filename)
 int operator == (const EST_TVector &v) const
int operator == (const EST_TVector &v) const 
 int operator != (const EST_TVector &v) const
int operator != (const EST_TVector &v) const 
 void copy_section(T* dest, int offset=0, int num=-1) const
void copy_section(T* dest, int offset=0, int num=-1) const 
 void sub_vector(EST_TVector<T> &sv, int start_c=0, int len=-1)
void sub_vector(EST_TVector<T> &sv, int start_c=0, int len=-1)
 void integrity() const
void integrity() const 
Alphabetic index HTML hierarchy of classes or Java
 
This page is part of the 
Edinburgh Speech Tools Library documentation
Copyright  University of Edinburgh 1997
Contact:  
         speech_tools@cstr.ed.ac.uk