#include <vector.hpp>
Public Member Functions | |
VectorBase () | |
Default constructor. | |
Type | operator[] (size_t i) const |
Array index operator. | |
Type & | operator[] (size_t i) |
Array index operator. | |
Protected Attributes | |
Type | data [Dim] |
The size in each dimension. |
Cuda::VectorBase< Type, Dim >::VectorBase | ( | ) | [inline] |
Default constructor.
Set size to zero in all dimensions.
Type Cuda::VectorBase< Type, Dim >::operator[] | ( | size_t | i | ) | const [inline] |
Type& Cuda::VectorBase< Type, Dim >::operator[] | ( | size_t | i | ) | [inline] |