Honeycomb
0.1
Component-Model Framework
|
Automatic (stack-compatible) dense storage. More...
#include <Storage.h>
Public Types | |
typedef Traits< Subclass >::Real | Real |
Public Types inherited from honey::matrix::priv::StorageDense< Subclass > | |
typedef Traits< Subclass >::Real | Real |
typedef Traits< Subclass >::ElemT | ElemT |
typedef Traits< Subclass >::Alloc | Alloc |
Public Member Functions | |
const Real * | operator[] (sdt row) const |
Access matrix element with [row][column]. More... | |
Real * | operator[] (sdt row) |
const Real & | operator() (sdt i) const |
Access matrix element at index. More... | |
Real & | operator() (sdt i) |
const Real & | operator() (sdt row, sdt col) const |
Access matrix element with (row, column) More... | |
Real & | operator() (sdt row, sdt col) |
sdt | rows () const |
sdt | cols () const |
sdt | size () const |
const Real * | data () const |
Get as array. More... | |
Real * | data () |
Public Member Functions inherited from honey::matrix::priv::StorageDense< Subclass > | |
const ElemT & | operator() (sdt row, sdt col) const |
ElemT & | operator() (sdt row, sdt col) |
void | resize (sdt rows, sdt cols) |
Default resize, just asserts that fixed dimensions match args. More... | |
sdt | rows () const |
sdt | cols () const |
sdt | size () const |
const ElemT * | data () const |
ElemT * | data () |
operator ElemT * () | |
Cast to array. More... | |
operator const ElemT * () const | |
const Subclass & | subc () const |
Get the subclass that inherited from this base class. More... | |
Subclass & | subc () |
Additional Inherited Members | |
Static Public Attributes inherited from honey::matrix::priv::StorageDense< Subclass > | |
static const sdt | s_rows = Traits<Subclass>::rows |
static const sdt | s_cols = Traits<Subclass>::cols |
static const sdt | s_size = s_rows != dynamic && s_cols != dynamic ? s_rows*s_cols : dynamic |
static const int | options = Traits<Subclass>::options |
Protected Member Functions inherited from honey::matrix::priv::StorageDense< Subclass > | |
void | assertIndex (sdt i) const |
void | assertIndex (sdt row, sdt col) const |
void | assertSize (sdt size) const |
void | assertSize (sdt rows, sdt cols) const |
Automatic (stack-compatible) dense storage.
typedef Traits<Subclass>::Real honey::matrix::priv::StorageDense< Subclass >::Real |
|
inline |
|
inline |
Get as array.
|
inline |
|
inline |
Access matrix element at index.
|
inline |
|
inline |
Access matrix element with (row, column)
|
inline |
|
inline |
Access matrix element with [row][column].
|
inline |
|
inline |
|
inline |