My Project
|
FullMatrix StoragePolicy which provides immutable object sharing semantics. More...
#include <Matrix.hpp>
Public Member Functions | |
const T & | operator[] (int i) const |
Storage element access. | |
int | size () const |
Data size query. | |
const T * | data () const |
Direct access to all data. | |
Protected Member Functions | |
ImmutableSharedData (int sz, const T *data) | |
Constructor. | |
FullMatrix StoragePolicy which provides immutable object sharing semantics.
T | Element type of the FullMatrix. Often T
double
|
|
inlineprotected |
Constructor.
[in] | sz | Number of elements in FullMatrix storage std::array. |
[in] | data | Initial data vector. Must be non-NULL and point to a sz
|
|
inline |
Direct access to all data.
|
inline |
Storage element access.
[in] | i | Linear element index. |
|
inline |
Data size query.