RowMajor Class Reference
#include <matgen.h>
List of all members.
Public Types |
typedef RowMajorIterator | T_iterator |
Public Member Functions |
| RowMajor () |
| RowMajor (unsigned rows, unsigned cols) |
unsigned | coordToOffset (unsigned i, unsigned j) const |
template<typename T_numtype > |
T_numtype | get (const T_numtype *data, unsigned i, unsigned j) const |
template<typename T_numtype > |
T_numtype & | get (T_numtype *data, unsigned i, unsigned j) |
Member Typedef Documentation
Constructor & Destructor Documentation
RowMajor::RowMajor |
( |
|
) |
[inline] |
RowMajor::RowMajor |
( |
unsigned |
rows, |
|
|
unsigned |
cols | |
|
) |
| | [inline] |
Member Function Documentation
unsigned RowMajor::coordToOffset |
( |
unsigned |
i, |
|
|
unsigned |
j | |
|
) |
| | const [inline] |
template<typename T_numtype >
T_numtype& RowMajor::get |
( |
T_numtype * |
data, |
|
|
unsigned |
i, |
|
|
unsigned |
j | |
|
) |
| | [inline] |
template<typename T_numtype >
T_numtype RowMajor::get |
( |
const T_numtype * |
data, |
|
|
unsigned |
i, |
|
|
unsigned |
j | |
|
) |
| | const [inline] |
The documentation for this class was generated from the following file: