A tag for row-major storage of a dense matrix.
More...
#include <matrix.hpp>
Static Public Member Functions |
static unsigned int | mem_index (unsigned int i, unsigned int j, unsigned int num_rows, unsigned int num_cols) |
| Returns the memory offset for entry (i,j) of a dense matrix.
|
static unsigned int | internal_size1 (unsigned int rows, unsigned int alignment) |
static unsigned int | internal_size2 (unsigned int cols, unsigned int alignment) |
Detailed Description
A tag for row-major storage of a dense matrix.
Member Function Documentation
static unsigned int internal_size1 |
( |
unsigned int |
rows, |
|
|
unsigned int |
alignment | |
|
) |
| | [inline, static] |
static unsigned int internal_size2 |
( |
unsigned int |
cols, |
|
|
unsigned int |
alignment | |
|
) |
| | [inline, static] |
static unsigned int mem_index |
( |
unsigned int |
i, |
|
|
unsigned int |
j, |
|
|
unsigned int |
num_rows, |
|
|
unsigned int |
num_cols | |
|
) |
| | [inline, static] |
Returns the memory offset for entry (i,j) of a dense matrix.
- Parameters:
-
| i | row index |
| j | column index |
| num_rows | number of entries per row (including alignment) |
| num_cols | number of entries per column (including alignment) |
The documentation for this struct was generated from the following file:
- /data/development/ViennaCL/ViennaCL-1.1.2/viennacl/matrix.hpp