Public Member Functions | Private Attributes
Matrix< T > Class Template Reference

#include <matrix.h>

List of all members.

Public Member Functions

void clear (void)
void clear (void)
unsigned int columns (void) const
unsigned int columns (void) const
 Matrix ()
 Matrix (unsigned int rows, unsigned int columns)
 Matrix ()
 Matrix (unsigned int rows, unsigned int columns)
 Matrix (const Matrix< T > &other)
 Matrix (const Matrix< T > &other)
 *export*/ template <class t>="">
const T max () const
const T max () const
const T min () const
const T min () const
unsigned int minsize (void)
unsigned int minsize (void)
Toperator() (unsigned int x, unsigned int y)
const Toperator() (unsigned int x, unsigned int y) const
Toperator() (unsigned int x, unsigned int y)
const Toperator() (unsigned int x, unsigned int y) const
Matrix< T > & operator= (const Matrix< T > &other)
Matrix< T > & operator= (const Matrix< T > &other)
void resize (unsigned int rows, unsigned int columns, T default_value=0)
void resize (unsigned int rows, unsigned int columns, T default_value=0)
unsigned int rows (void) const
unsigned int rows (void) const
 ~Matrix ()
 ~Matrix ()

Private Attributes

unsigned int m_columns
T ** m_matrix
unsigned int m_rows

Detailed Description

template<class T>
class Matrix< T >

Definition at line 27 of file include/matrix.h.


Constructor & Destructor Documentation

template<class T >
Matrix< T >::Matrix ( )

Definition at line 26 of file matrix.cpp.

template<class T >
Matrix< T >::Matrix ( unsigned int  rows,
unsigned int  columns 
)

Definition at line 75 of file matrix.cpp.

template<class T>
Matrix< T >::Matrix ( const Matrix< T > &  other)

*export*/ template <class t>="">

Definition at line 57 of file matrix.cpp.

template<class T >
Matrix< T >::~Matrix ( )

Definition at line 108 of file matrix.cpp.

template<class T>
Matrix< T >::Matrix ( )
template<class T>
Matrix< T >::Matrix ( unsigned int  rows,
unsigned int  columns 
)
template<class T>
Matrix< T >::Matrix ( const Matrix< T > &  other)
template<class T>
Matrix< T >::~Matrix ( )

Member Function Documentation

template<class T>
void Matrix< T >::clear ( void  )
template<class T >
void Matrix< T >::clear ( void  )

Definition at line 174 of file matrix.cpp.

template<class T>
unsigned int Matrix< T >::columns ( void  ) const [inline]

Definition at line 43 of file src/src/matrix.h.

template<class T>
unsigned int Matrix< T >::columns ( void  ) const [inline]

Definition at line 45 of file include/matrix.h.

template<class T>
const T Matrix< T >::max ( ) const
template<class T >
const T Matrix< T >::max ( ) const

Definition at line 224 of file matrix.cpp.

template<class T>
const T Matrix< T >::min ( ) const
template<class T >
const T Matrix< T >::min ( ) const

Definition at line 206 of file matrix.cpp.

template<class T>
unsigned int Matrix< T >::minsize ( void  ) [inline]

Definition at line 40 of file src/src/matrix.h.

template<class T>
unsigned int Matrix< T >::minsize ( void  ) [inline]

Definition at line 42 of file include/matrix.h.

template<class T>
T& Matrix< T >::operator() ( unsigned int  x,
unsigned int  y 
)
template<class T>
const T& Matrix< T >::operator() ( unsigned int  x,
unsigned int  y 
) const
template<class T >
T & Matrix< T >::operator() ( unsigned int  x,
unsigned int  y 
) [inline]

Definition at line 186 of file matrix.cpp.

template<class T >
const T & Matrix< T >::operator() ( unsigned int  x,
unsigned int  y 
) const [inline]

Definition at line 196 of file matrix.cpp.

template<class T>
Matrix<T>& Matrix< T >::operator= ( const Matrix< T > &  other)
template<class T>
Matrix< T > & Matrix< T >::operator= ( const Matrix< T > &  other)

Definition at line 82 of file matrix.cpp.

template<class T>
void Matrix< T >::resize ( unsigned int  rows,
unsigned int  columns,
T  default_value = 0 
)
template<class T>
void Matrix< T >::resize ( unsigned int  rows,
unsigned int  columns,
T  default_value = 0 
)

Definition at line 122 of file matrix.cpp.

template<class T>
unsigned int Matrix< T >::rows ( void  ) const [inline]

Definition at line 46 of file src/src/matrix.h.

template<class T>
unsigned int Matrix< T >::rows ( void  ) const [inline]

Definition at line 48 of file include/matrix.h.


Member Data Documentation

template<class T>
unsigned int Matrix< T >::m_columns [private]

Definition at line 54 of file include/matrix.h.

template<class T>
T ** Matrix< T >::m_matrix [private]

Definition at line 52 of file include/matrix.h.

template<class T>
unsigned int Matrix< T >::m_rows [private]

Definition at line 53 of file include/matrix.h.


The documentation for this class was generated from the following files:


explorer
Author(s): Daniel Neuhold , Torsten Andre
autogenerated on Thu Jun 6 2019 20:59:53