![]() |
fml
0.1-0
Fused Matrix Library
|
Base vector class. Not meant for direct use. Instead see cpuvec and gpuvec.
More...
#include <univec.hh>
Public Member Functions | |
| len_t | size () const |
| Number of elements in the vector. | |
| T * | data_ptr () |
| Pointer to the internal array. | |
| T * | data_ptr () const |
Protected Member Functions | |
| bool | should_free () const |
| void | check_index (const len_t i) const |
| void | printval (const T val, uint8_t ndigits) const |
| void | printval (const int val, uint8_t ndigits) const |
Protected Attributes | |
| len_t | _size |
| T * | data |
| bool | free_data |
Base vector class. Not meant for direct use. Instead see cpuvec and gpuvec.