![]() |
CLA3P v0.3.1
Compact Linear Algebra Parallel Portable Package
|
Two-dimensional coordinate container. More...

Public Member Functions | |
| Coord () | |
| Default constructor. | |
| Coord (T_Int r, T_Int c) | |
| Coordinate constructor. | |
| ~Coord () | |
| Destructor. | |
| T_Int | row () const |
| Row index accessor. | |
| T_Int | col () const |
| Column index accessor. | |
Two-dimensional coordinate container.
| T_Int | Integer type for coordinate indices. |
Stores a row and column index pair representing a position within a two-dimensional structure.
|
inline |
Default constructor.
Constructs a coordinate initialized to (0, 0).
|
inline |
Coordinate constructor.
Constructs a coordinate with specified row and column indices.
| [in] | r | The row index. |
| [in] | c | The column index. |
|
inline |
Destructor.
Destroys the coordinate object.
|
inline |
Row index accessor.
Returns the row coordinate value.
|
inline |
Column index accessor.
Returns the column coordinate value.