LoveBrains  1.0.0
Public Member Functions | List of all members
GANN::Matrix< T > Class Template Reference

Public Member Functions

 Matrix (unsigned int rows, unsigned int cols, T const &elem)
 
 Matrix (Matrix const &copy)
 
unsigned int rows (void) const
 
unsigned int cols (void) const
 
T const & init (void) const
 
Matrix< T > identity (unsigned int size, T const &null, T const &id)
 
Matrix< T > & operator= (Matrix< T > const &m)
 
const T & operator[] (unsigned int i) const
 
T & operator[] (unsigned int i)
 
const T & operator() (unsigned int i, unsigned int j) const
 
T & operator() (unsigned int i, unsigned int j)
 
 Matrix (unsigned int rows, unsigned int cols, T const &elem)
 
 Matrix (Matrix const &copy)
 
unsigned int rows (void) const
 
unsigned int cols (void) const
 
T const & init (void) const
 
Matrix< T > identity (unsigned int size, T const &null, T const &id)
 
Matrix< T > & operator= (Matrix< T > const &m)
 
const T & operator[] (unsigned int i) const
 
T & operator[] (unsigned int i)
 
const T & operator() (unsigned int i, unsigned int j) const
 
T & operator() (unsigned int i, unsigned int j)
 

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