In file ../include/EST_TMatrix.h:
template<class T> class EST_TMatrix |
Template Matrix class.
![]() | EST_TMatrix () default constructor | ||||||||||||||||
![]() | EST_TMatrix (const EST_TMatrix<T> &m) copy constructor | ||||||||||||||||
![]() | EST_TMatrix (int rows, int cols) "size" constructor | ||||||||||||||||
![]() | EST_TMatrix (int rows, int cols, T* memory, int offset=0, int free_when_destroyed=0) construct from memory supplied by caller | ||||||||||||||||
![]() | ~EST_TMatrix () EST_TMatrix | ||||||||||||||||
![]() | access
| ||||||||||||||||
![]() | resize (int rows, int cols, int set=1) resize matrix. | ||||||||||||||||
![]() | fill (const T &v) fill matrix with value v | ||||||||||||||||
![]() | operator= (const EST_TMatrix &s) assignment operator | ||||||||||||||||
![]() | add_rows (const EST_TMatrix &s) The two versions of what might have been operator += | ||||||||||||||||
![]() | Sub-Matrix/Vector Extraction
| ||||||||||||||||
![]() | Copy in and out
| ||||||||||||||||
![]() | io
|
![]() | p_num_rows Visible shape |
![]() | p_row_step How to access the memory |
![]() | fast_a_m (int r, int c) const quick method for returning x[m][n] |
![]() | set_values (const T* data, int r_step, int c_step, int start_r, int num_r, int start_c, int num_c ) Get and set values from array |
![]() | copy (const EST_TMatrix<T> &a) private resize and copy function. |
![]() | copy_data (const EST_TMatrix<T> &a) just copy data, no resizing, no size check |
![]() | just_resize (int new_rows, int new_cols, T** old_vals) resize the memory and reset the bounds, but don't set values |
![]() | default_vals () sets data and length to default values (0 in both cases) |
Template Matrix class.This is an extension of the EST_TVector class to two dimensions.
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