Simple 2-d array class.
More...
#include <clipper_types.h>
|
|
| Array2d () |
| | null constructor
|
| |
|
| Array2d (const int &d1, const int &d2) |
| | constructor
|
| |
|
| Array2d (const int &d1, const int &d2, T val) |
| | constructor
|
| |
|
void | resize (const int &d1, const int &d2) |
| | resize
|
| |
|
void | resize (const int &d1, const int &d2, const T &val) |
| | resize
|
| |
|
int | size () const |
| | size
|
| |
|
const int & | rows () const |
| | number of rows
|
| |
|
const int & | cols () const |
| | number of cols
|
| |
|
const T & | operator() (const int &i1, const int &i2) const |
| | read accessor
|
| |
|
T & | operator() (const int &i1, const int &i2) |
| | write accessor
|
| |
|
|
std::vector< T > | data |
| |
|
int | d1_ |
| |
|
int | d2_ |
| |
template<class T = ftype>
class clipper::Array2d< T >
Simple 2-d array class.
The documentation for this class was generated from the following file: