Honeycomb
0.1
Component-Model Framework
|
dynamic (heap) dense storage More...
#include <Storage.h>
Public Types | |
typedef Traits< Subclass >::Real | Real |
typedef Traits< Subclass >::Alloc | Alloc |
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 | |
StorageDynamic () | |
Default is null array. More... | |
StorageDynamic (const StorageDynamic &rhs) | |
Init to copy of rhs. More... | |
StorageDynamic (StorageDynamic &&rhs) | |
Init to rhs and set rhs array to null. More... | |
~StorageDynamic () | |
StorageDynamic & | operator= (const StorageDynamic &rhs) |
StorageDynamic & | operator= (StorageDynamic &&rhs) |
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) |
void | resize (sdt rows, sdt cols) |
sdt | rows () const |
sdt | cols () const |
sdt | size () const |
Real * | data () |
Get as array. More... | |
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 () |
Protected Member Functions | |
void | setAllocator (const Alloc &alloc) |
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 |
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 |
dynamic (heap) dense storage
typedef Traits<Subclass>::Alloc honey::matrix::priv::StorageDense< Subclass >::Alloc |
typedef Traits<Subclass>::Real honey::matrix::priv::StorageDense< Subclass >::Real |
|
inline |
Default is null array.
|
inline |
Init to copy of rhs.
|
inline |
Init to rhs and set rhs array to null.
|
inline |
|
inline |
|
inline |
Get as array.
|
inline |
|
inline |
Access matrix element at index.
|
inline |
|
inline |
Access matrix element with (row, column)
|
inline |
|
inline |
|
inline |
|
inline |
Access matrix element with [row][column].
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |