|
ViennaCL - The Vienna Computing Library
1.5.1
|
A tag for row-major storage of a dense matrix. More...
#include <forwards.h>
Public Types | |
| typedef row_major_tag | orientation_category |
Static Public Member Functions | |
| static vcl_size_t | mem_index (vcl_size_t i, vcl_size_t j, vcl_size_t, vcl_size_t num_cols) |
| Returns the memory offset for entry (i,j) of a dense matrix. | |
A tag for row-major storage of a dense matrix.
| typedef row_major_tag orientation_category |
| static vcl_size_t mem_index | ( | vcl_size_t | i, |
| vcl_size_t | j, | ||
| vcl_size_t | , | ||
| vcl_size_t | num_cols | ||
| ) | [inline, static] |
Returns the memory offset for entry (i,j) of a dense matrix.
| i | row index |
| j | column index |
| num_cols | number of entries per column (including alignment) |
1.7.6.1