ViennaCL - The Vienna Computing Library  1.5.1
Public Types | Static Public Member Functions
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.

Detailed Description

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


Member Typedef Documentation


Member Function Documentation

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.

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

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