Inheritance diagram for MatrixData:


STL compatibility | |
| typedef T | value_type |
| typedef T & | reference |
| typedef const T & | const_reference |
| typedef matrixdataIterator | iterator |
| typedef const matrixdataIterator | const_iterator |
| typedef size_t | size_type |
| typedef ptrdiff_t | difference_type |
| size_type | max_size () |
| bool | empty () |
| void | clear () |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
Constructors | |
| MatrixData (u_int rows, u_int cols) | |
| MatrixData (Vec &src, u_int rstart, u_int rend, u_int rows, u_int cols) | |
| ~MatrixData () | |
Informations about MatrixData | |
| u_int | rows () const |
| u_int | cols () const |
| u_int | size () const |
| bool | isView () const |
| bool | operator== (const MatrixData< T, Vec > &b) |
| bool | operator!= (const VectorData< T > &b) |
| void | resize (u_int rows, u_int cols) |
Accessing Operators | |
| T & | at (u_int row, u_int col) |
| const T & | at (u_int row, u_int col) const |
| Vec & | operator[] (u_int row) |
| const Vec & | operator[] (u_int row) const |
| MatrixData & | assign (const MatrixData &src) |
| void | zeroing () |
Protected Member Functions | |
| Vec & | rawdata () const |
Classes | |
| class | matrixdataIterator |
| typedef T value_type |
Value type
| typedef T& reference |
Reference type
| typedef const T& const_reference |
Const Reference type
| typedef matrixdataIterator iterator |
Iterator
| typedef const matrixdataIterator const_iterator |
Const Iterator
| typedef size_t size_type |
Size type
| typedef ptrdiff_t difference_type |
Difference pointer type
| MatrixData | ( | u_int | rows, | |
| u_int | cols | |||
| ) | [inline] |
Construct an empty matrix of dimension size
| MatrixData | ( | Vec & | src, | |
| u_int | rstart, | |||
| u_int | rend, | |||
| u_int | rows, | |||
| u_int | cols | |||
| ) | [inline] |
Construct a Matrix view from VectorData passed
| src | is the VectorData from which this method constructs a Matrix view. The VectorData must be the same as specified in template constructing ( class Vec template parameters ) |
| ~MatrixData | ( | ) | [inline] |
Destructor
| u_int rows | ( | ) | const [inline] |
Returns the numbers of Row
| u_int cols | ( | ) | const [inline] |
Returns the numbers of Columns
| u_int size | ( | ) | const [inline] |
Returns the total numbers of elements (Rows*Columns)
| bool isView | ( | ) | const [inline] |
Return True if it is a MatrixData view
| bool operator== | ( | const MatrixData< T, Vec > & | b | ) | [inline] |
Equal Operator
| bool operator!= | ( | const VectorData< T > & | b | ) | [inline] |
Not-Equal Operator
Return a Const reference to element at position (row, col)
| Vec& operator[] | ( | u_int | row | ) | [inline] |
Indexing operator
Boundary check activated only when DEBUG if defined
| const Vec& operator[] | ( | u_int | row | ) | const [inline] |
Indexing operator (Const Version)
Boundary check activated only when DEBUG if defined
| MatrixData& assign | ( | const MatrixData< T, Vec > & | src | ) | [inline] |
Assign elements
| void zeroing | ( | ) | [inline] |
Set all values to zero
| size_type max_size | ( | ) | [inline] |
Max size allowed
| bool empty | ( | ) | [inline] |
Is Empty
| void clear | ( | ) | [inline] |
Clear: reduce the dimension to zero-zero matrix
| iterator begin | ( | ) | [inline] |
Iterator at initial position
| const_iterator begin | ( | ) | const [inline] |
Iterator at initial position
| iterator end | ( | ) | [inline] |
Iterator at past-end position
| const_iterator end | ( | ) | const [inline] |
Iterator at past-end position
| Vec& rawdata | ( | ) | const [inline, protected] |
Return the VectorData of the data