|
| EST_FMatrix (int m, int n) |
| size constructor
|
|
| EST_FMatrix (const EST_FMatrix &a) |
| copy constructor
|
|
| EST_FMatrix (const EST_FMatrix &a, int b) |
| CHECK - what does this do???
|
|
| EST_FMatrix () |
| default constructor
|
|
EST_write_status | save (const EST_String &filename, const EST_String &type=EST_FMatrix::default_file_type) |
| Save in file (ascii or binary)
|
|
EST_read_status | load (const EST_String &filename) |
| Load from file (ascii or binary as defined in file)
|
|
EST_write_status | est_save (const EST_String &filename, const EST_String &type) |
| Save in file in est format.
|
|
EST_read_status | est_load (const EST_String &filename) |
| Load from file in est format (binary/ascii defined in file itself)
|
|
void | copyin (float **x, int rows, int cols) |
| Copy 2-d array { x} of size { rows x cols} into matrix.
|
|
EST_FMatrix & | operator+= (const EST_FMatrix &a) |
| Add elements of 2 same sized matrices.
|
|
EST_FMatrix & | operator-= (const EST_FMatrix &a) |
| Subtract elements of 2 same sized matrices.
|
|
EST_FMatrix & | operator*= (const float f) |
| elementwise multiply by scalar
|
|
EST_FMatrix & | operator/= (const float f) |
| elementwise divide by scalar
|
|
| EST_TSimpleMatrix (void) |
| default constructor
|
|
| EST_TSimpleMatrix (int m, int n) |
| size constructor
|
|
| EST_TSimpleMatrix (const EST_TSimpleMatrix< float > &m) |
| copy constructor
|
|
void | copy (const EST_TSimpleMatrix< float > &a) |
| copy one matrix into another
|
|
void | resize (int rows, int cols, int set=1) |
| resize matrix
|
|
EST_TSimpleMatrix< float > & | operator= (const EST_TSimpleMatrix< float > &s) |
| assignment operator
|
|
| EST_TMatrix () |
| default constructor
|
|
| EST_TMatrix (const EST_TMatrix< float > &m) |
| copy constructor
|
|
| EST_TMatrix (int rows, int cols) |
| "size" constructor
|
|
| EST_TMatrix (int rows, int cols, float *memory, int offset=0, int free_when_destroyed=0) |
| construct from memory supplied by caller
|
|
| ~EST_TMatrix () |
| EST_TMatrix.
|
|
bool | have_rows_before (int n) const |
|
bool | have_columns_before (int n) const |
|
void | resize (int rows, int cols, int set=1) |
|
void | fill (const float &v) |
| fill matrix with value v
|
|
void | fill () |
|
EST_TMatrix & | operator= (const EST_TMatrix &s) |
| assignment operator
|
|
EST_TMatrix & | add_rows (const EST_TMatrix &s) |
| The two versions of what might have been operator +=.
|
|
EST_TMatrix & | add_columns (const EST_TMatrix &s) |
|
int | num_rows () const |
| return number of rows
|
|
int | num_columns () const |
| return number of columns
|
|
INLINE const float & | a_no_check (int row, int col) const |
| const access with no bounds check, care recommend
|
|
INLINE float & | a_no_check (int row, int col) |
| access with no bounds check, care recommend
|
|
INLINE const float & | a_no_check_1 (int row, int col) const |
|
INLINE float & | a_no_check_1 (int row, int col) |
|
const float & | a_check (int row, int col) const |
| const element access function
|
|
float & | a_check (int row, int col) |
| non-const element access function
|
|
const float & | a (int row, int col) const |
|
float & | a (int row, int col) |
|
const float & | operator() (int row, int col) const |
| const element access operator
|
|
float & | operator() (int row, int col) |
| non-const element access operator
|
|
void | row (EST_TVector< float > &rv, int r, int start_c=0, int len=-1) |
| Make the vector { rv} a window onto row { r}.
|
|
void | column (EST_TVector< float > &cv, int c, int start_r=0, int len=-1) |
| Make the vector { cv} a window onto column { c}.
|
|
void | sub_matrix (EST_TMatrix< float > &sm, int r=0, int numr=EST_ALL, int c=0, int numc=EST_ALL) |
| Make the matrix { sm} a window into this matrix.
|
|
void | copy_row (int r, float *buf, int offset=0, int num=-1) const |
|
void | copy_row (int r, EST_TVector< float > &t, int offset=0, int num=-1) const |
|
void | copy_column (int c, float *buf, int offset=0, int num=-1) const |
|
void | copy_column (int c, EST_TVector< float > &t, int offset=0, int num=-1) const |
|
void | set_row (int n, const float *buf, int offset=0, int num=-1) |
|
void | set_row (int n, const EST_TVector< float > &t, int offset=0, int num=-1) |
|
void | set_row (int r, const EST_TMatrix< float > &from, int from_r, int from_offset=0, int offset=0, int num=-1) |
|
void | set_column (int n, const float *buf, int offset=0, int num=-1) |
|
void | set_column (int n, const EST_TVector< float > &t, int offset=0, int num=-1) |
|
void | set_column (int c, const EST_TMatrix< float > &from, int from_c, int from_offset=0, int offset=0, int num=-1) |
|
void | set_memory (float *buffer, int offset, int rows, int columns, int free_when_destroyed=0) |
|
EST_read_status | load (const class EST_String &filename) |
| load Matrix from file - Not currently implemented.
|
|
EST_write_status | save (const class EST_String &filename) const |
| save Matrix to file { filename}
|
|
INLINE unsigned int | vcell_pos (unsigned int c, unsigned int cs) const |
| The memory access rule, in one place for easy reference.
|
|
INLINE unsigned int | vcell_pos (unsigned int c) const |
|
INLINE unsigned int | vcell_pos_1 (unsigned int c) const |
|
INLINE const float & | fast_a_v (int c) const |
| quick method for returning (x[n])
|
|
INLINE float & | fast_a_v (int c) |
|
INLINE const float & | fast_a_1 (int c) const |
|
INLINE float & | fast_a_1 (int c) |
|
void | set_values (const float *data, int step, int start_c, int num_c) |
| Get and set values from array.
|
|
void | get_values (float *data, int step, int start_c, int num_c) const |
|
void | copy (const EST_TVector< float > &a) |
| private copy function, called from all other copying functions.
|
|
void | copy_data (const EST_TVector< float > &a) |
| just copy data, no resizing, no size check.
|
|
void | just_resize (int new_cols, float **old_vals) |
| resize the memory and reset the bounds, but don't set values.
|
|
void | default_vals () |
| sets data and length to default values (0 in both cases).
|
|
| EST_TVector () |
| default constructor
|
|
| EST_TVector (const EST_TVector< float > &v) |
| copy constructor
|
|
| EST_TVector (int n) |
| "size" constructor - make vector of size n.
|
|
| EST_TVector (int, float *memory, int offset=0, int free_when_destroyed=0) |
| construct from memory supplied by caller
|
|
| ~EST_TVector () |
| destructor.
|
|
void | resize (int n, int set=1) |
|
const float * | memory () const |
|
float * | memory () |
|
void | set_memory (float *buffer, int offset, int columns, int free_when_destroyed=0) |
|
EST_TVector & | operator= (const EST_TVector &s) |
| assignment operator
|
|
void | fill (const float &v) |
| Fill entire array will value <parameter>v</parameter>.
|
|
void | empty () |
| Fill vector with default value.
|
|
int | operator== (const EST_TVector &v) const |
| is true if vectors are equal size and all elements are equal.
|
|
int | operator!= (const EST_TVector &v) const |
| is true if vectors are not equal size or a single elements isn't equal.
|
|
void | copy_section (float *dest, int offset=0, int num=-1) const |
| Copy data in and out. Subclassed by SimpleVector for speed.
|
|
void | set_section (const float *src, int offset=0, int num=-1) |
|
void | sub_vector (EST_TVector< float > &sv, int start_c=0, int len=-1) |
| Create a sub vector.
|
|
void | integrity () const |
|
INLINE int | num_columns () const |
| number of items in vector.
|
|
INLINE int | length () const |
| number of items in vector.
|
|
INLINE int | n () const |
| number of items in vector.
|
|
INLINE const float & | a_no_check (int n) const |
| read-only const access operator: without bounds checking
|
|
INLINE float & | a_no_check (int n) |
| read/write non-const access operator: without bounds checking
|
|
INLINE const float & | a_no_check_1 (int n) const |
| read-only const access operator: without bounds checking
|
|
INLINE float & | a_no_check_1 (int n) |
| read/write non-const access operator: without bounds checking
|
|
const float & | a_check (int n) const |
| read-only const access operator: with bounds checking
|
|
float & | a_check (int n) |
| read/write non-const access operator: with bounds checking
|
|
const float & | a (int n) const |
|
float & | a (int n) |
|
const float & | operator() (int n) const |
| read-only const access operator: return reference to nth member
|
|
float & | operator[] (int n) |
| read/write non const access operator: return reference to nth member
|
|