Helper struct for accessing an element of a row- or column-major matrix. More...
#include <sparse_matrix_operations.hpp>
Static Public Member Functions | |
static __device__ unsigned int | apply (unsigned int i, unsigned int j, unsigned int row_start, unsigned int row_inc, unsigned int col_start, unsigned int col_inc, unsigned int internal_rows, unsigned int internal_cols) |
Helper struct for accessing an element of a row- or column-major matrix.
LayoutT | The layout tag: Either row_major or column_major |
Definition at line 403 of file sparse_matrix_operations.hpp.
|
inlinestatic |
Definition at line 405 of file sparse_matrix_operations.hpp.