# apmatrix< itemType > Class Template Reference

List of all members.

## Public Member Functions
| apmatrix (const apmatrix< itemType > &mat)
| apmatrix (int rows, int cols, const itemType &fillValue)
| apmatrix (int rows, int cols)
| apmatrix ()
int | numcols () const
int | numrows () const
const apmatrix & | operator= (const apmatrix &rhs)
apvector< itemType > & | operator[] (int row)
const apvector< itemType > & | operator[] (int row) const
void | resize (int newRows, int newCols)
| ~apmatrix ()

### template<class itemType>
class apmatrix< itemType >

## Constructor & Destructor Documentation

template<class itemType >

apmatrix< itemType >::apmatrix | ( |  | ) | `[inline]`

template<class itemType >

apmatrix< itemType >::apmatrix | ( | int | rows,
|  | int | cols |
| ) |  |  | `[inline]`

template<class itemType >

apmatrix< itemType >::apmatrix | ( | int | rows,
|  | int | cols,
|  | const itemType & | fillValue |
| ) |  |  | `[inline]`

template<class itemType >

apmatrix< itemType >::apmatrix | ( | const apmatrix< itemType > & | mat | ) | `[inline]`

template<class itemType >

apmatrix< itemType >::~apmatrix | ( |  | ) | `[inline]`

## Member Function Documentation

template<class itemType >

int apmatrix< itemType >::numcols | ( |  | ) | const`[inline]`

template<class itemType >

int apmatrix< itemType >::numrows | ( |  | ) | const`[inline]`

template<class itemType >

const apmatrix< itemType > & apmatrix< itemType >::operator= | ( | const apmatrix< itemType > & | rhs | ) | `[inline]`

template<class itemType >

apvector< itemType > & apmatrix< itemType >::operator[] | ( | int | row | ) | `[inline]`

template<class itemType >

const apvector< itemType > & apmatrix< itemType >::operator[] | ( | int | row | ) | const`[inline]`

template<class itemType >

void apmatrix< itemType >::resize | ( | int | newRows,
|  | int | newCols |
| ) |  |  | `[inline]`