ViennaCL - The Vienna Computing Library  1.7.1
Free open-source GPU-accelerated linear algebra and solver library.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
viennacl::row_major Struct Reference

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. More...
 

Detailed Description

A tag for row-major storage of a dense matrix.

Definition at line 304 of file forwards.h.

Member Typedef Documentation

Member Function Documentation

static vcl_size_t viennacl::row_major::mem_index ( vcl_size_t  i,
vcl_size_t  j,
vcl_size_t  ,
vcl_size_t  num_cols 
)
inlinestatic

Returns the memory offset for entry (i,j) of a dense matrix.

Parameters
irow index
jcolumn index
num_colsnumber of entries per column (including alignment)

Definition at line 314 of file forwards.h.


The documentation for this struct was generated from the following file: