#include <allocator.hh>
Public Member Functions | |
VectorAlloc () | |
VectorAlloc (int) | |
template<class Op > | |
VectorAlloc (const Operator< Op > &) | |
int | size () const |
Precision * | get_data_ptr () |
const Precision * | get_data_ptr () const |
Protected Member Functions | |
Precision * | data () |
const Precision * | data () const |
For internal use only.
VectorAlloc | ( | ) |
Default constructor (only for statically sized vectors).
VectorAlloc | ( | int | ) |
Construction from a size (required by damic vectors, ignored otherwise).
VectorAlloc | ( | const Operator< Op > & | ) |
Construction from an Operator. See Operator::size().
int size | ( | ) | const |
Return the size of the vector.