dlvhex  2.5.0
bm::tmatrix< T, ROWS, COLS > Struct Template Reference

Mini-matrix for bit transposition purposes. More...

#include <vs10/bm/bmtrans.h>

Collaboration diagram for bm::tmatrix< T, ROWS, COLS >:

Data Structures

struct  rstat
 Row characteristics for transposed matrix. More...

Public Types

enum  params { n_rows = ROWS, n_columns = COLS, n_rows = ROWS, n_columns = COLS }
enum  params { n_rows = ROWS, n_columns = COLS, n_rows = ROWS, n_columns = COLS }
typedef T value_type
typedef T value_type

Public Member Functions

const T * row (unsigned row_idx) const
T * row (unsigned row_idx)
const T * row (unsigned row_idx) const
T * row (unsigned row_idx)

Static Public Member Functions

static unsigned rows ()
static unsigned cols ()
static unsigned rows ()
static unsigned cols ()

Data Fields

T BM_ALIGN16 value[ROWS][COLS] BM_ALIGN16ATTR

Detailed Description

template<typename T, unsigned ROWS, unsigned COLS>
struct bm::tmatrix< T, ROWS, COLS >

Mini-matrix for bit transposition purposes.

Definition at line 42 of file bmtrans.h.


Member Typedef Documentation

template<typename T , unsigned ROWS, unsigned COLS>
typedef T bm::tmatrix< T, ROWS, COLS >::value_type

Definition at line 44 of file bmtrans.h.

template<typename T , unsigned ROWS, unsigned COLS>
typedef T bm::tmatrix< T, ROWS, COLS >::value_type

Definition at line 44 of file bmtrans.h.


Member Enumeration Documentation

template<typename T , unsigned ROWS, unsigned COLS>
enum bm::tmatrix::params
Enumerator:
n_rows 
n_columns 
n_rows 
n_columns 

Definition at line 48 of file bmtrans.h.

template<typename T , unsigned ROWS, unsigned COLS>
enum bm::tmatrix::params
Enumerator:
n_rows 
n_columns 
n_rows 
n_columns 

Definition at line 48 of file bmtrans.h.


Member Function Documentation

template<typename T , unsigned ROWS, unsigned COLS>
static unsigned bm::tmatrix< T, ROWS, COLS >::cols ( ) [inline, static]

Definition at line 64 of file bmtrans.h.

template<typename T , unsigned ROWS, unsigned COLS>
static unsigned bm::tmatrix< T, ROWS, COLS >::cols ( ) [inline, static]

Definition at line 64 of file bmtrans.h.

template<typename T , unsigned ROWS, unsigned COLS>
const T* bm::tmatrix< T, ROWS, COLS >::row ( unsigned  row_idx) const [inline]

Definition at line 66 of file bmtrans.h.

template<typename T , unsigned ROWS, unsigned COLS>
const T* bm::tmatrix< T, ROWS, COLS >::row ( unsigned  row_idx) const [inline]

Definition at line 66 of file bmtrans.h.

template<typename T , unsigned ROWS, unsigned COLS>
T* bm::tmatrix< T, ROWS, COLS >::row ( unsigned  row_idx) [inline]

Definition at line 67 of file bmtrans.h.

template<typename T , unsigned ROWS, unsigned COLS>
T* bm::tmatrix< T, ROWS, COLS >::row ( unsigned  row_idx) [inline]

Definition at line 67 of file bmtrans.h.

template<typename T , unsigned ROWS, unsigned COLS>
static unsigned bm::tmatrix< T, ROWS, COLS >::rows ( ) [inline, static]

Definition at line 63 of file bmtrans.h.

template<typename T , unsigned ROWS, unsigned COLS>
static unsigned bm::tmatrix< T, ROWS, COLS >::rows ( ) [inline, static]

Definition at line 63 of file bmtrans.h.


Field Documentation

template<typename T , unsigned ROWS, unsigned COLS>
T BM_ALIGN16 value [ROWS][COLS] bm::tmatrix< T, ROWS, COLS >::BM_ALIGN16ATTR

Definition at line 46 of file bmtrans.h.


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