Scythe-1.0.3
|
Handles Matrix data internals. More...
#include <scythestat/datablock.h>
Public Member Functions | |
DataBlock (uint size) | |
DataBlock (const DataBlock< T_type > &b) | |
uint | addReference () |
uint | removeReference () |
uint | references () |
T_type * | data () |
const T_type * | data () const |
uint | size () const |
void | resize (uint newsize) |
Protected Member Functions | |
void | allocate (uint size) |
void | deallocate () |
void | grow (uint newsize) |
void | shrink () |
Handles Matrix data internals.
Handles data allocation, reallocation, and deletion of blocks of elements; the actual data Matrix objects point to. Keeps a reference count.