Public Member Functions | |
Coord (size_t i, size_t j) | |
Pass in the two coords. | |
size_t | operator[] (size_t i) const |
i should be 0 or 1 only. | |
size_t | first () const |
The first (row) coordinate. | |
size_t | second () const |
The second (col) coordinate. |
code::Dim2D< X >::Coord::Coord | ( | size_t | i, | |
size_t | j | |||
) | [inline] |
Pass in the two coords.
0 is the slower varying coordinate.
size_t code::Dim2D< X >::Coord::first | ( | ) | const [inline] |
The first (row) coordinate.
size_t code::Dim2D< X >::Coord::operator[] | ( | size_t | i | ) | const [inline] |
i should be 0 or 1 only.
O is the slower varying coordinate.
size_t code::Dim2D< X >::Coord::second | ( | ) | const [inline] |
The second (col) coordinate.