|
| | Matrix (const Point< int > &size, const T &defaultValue=T()) |
| | Creates a matrix of the specified size and with the specified default value. More...
|
| |
|
virtual T & | get (const Point< int > &index)=0 |
| | Gets the value at the specified index.
|
| |
|
virtual void | set (const T &value, const Point< int > &index)=0 |
| | Sets the value at the specified index.
|
| |
|
T & | operator[] (const Point< int > &index) |
| |
|
const T & | operator[] (const Point< int > &index) const |
| |
|
const T & | defaultValue () const |
| | Gets the default value of any unset matrix cell.
|
| |
| const Point< int > | shape () const |
| | Gets the shape (i.e. More...
|
| |
template<typename T>
class repast::Matrix< T >
Base class for matrix implementations.