Honeycomb
0.1
Component-Model Framework
|
Automatic (stack-compatible) vector storage that allows direct access to dimension fields. 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 i) const |
Access vector element at index. More... | |
Real & | operator[] (sdt i) |
const Real & | operator() (sdt i) const |
Access vector element at index. More... | |
Real & | operator() (sdt i) |
const Real & | operator() (sdt row, sdt col) const |
Access vector element with (row, column) More... | |
Real & | operator() (sdt row, sdt col) |
sdt | rows () const |
sdt | cols () const |
sdt | size () const |
Real * | data () |
const Real * | data () const |
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) vector storage that allows direct access to dimension fields.
typedef Traits<Subclass>::Real honey::matrix::priv::StorageDense< Subclass >::Real |
|
inline |
|
inline |
|
inline |
|
inline |
Access vector element at index.
|
inline |
|
inline |
Access vector element with (row, column)
|
inline |
|
inline |
Access vector element at index.
|
inline |
|
inline |
|
inline |