FVMemory
instances having their own memory embedded. Indicated by S=0
. This is the case for every freshly allocated FVector object having its own memory.The physical stride for memory access is one in this case.
ltl::FVMemory< T, N, 0 >::FVMemory | ( | ) | [inline] |
construct as a reference to the memory pointed to by data
.
ltl::FVMemory< T, N, 0 >::FVMemory | ( | const T *const __restrict__ | data | ) | [inline] |
copy data over from memory pointed to by data
.
ltl::FVMemory< T, N, 0 >::FVMemory | ( | const FVMemory< T, N, 0 > &__restrict__ | other | ) | [inline] |
copy constructor
T ltl::FVMemory< T, N, 0 >::operator[] | ( | const int | i | ) | const [inline] |
Access elements with zero-based index i
.
T& ltl::FVMemory< T, N, 0 >::operator[] | ( | const int | i | ) | [inline] |
Access elements with zero-based index i
.
T ltl::FVMemory< T, N, 0 >::operator() | ( | const int | i | ) | const [inline] |
Access elements with one-based index i
.
T& ltl::FVMemory< T, N, 0 >::operator() | ( | const int | i | ) | [inline] |
Access elements with one-based index i
.
T* ltl::FVMemory< T, N, 0 >::data | ( | ) | [inline] |
Return a pointer to the data.
const T* ltl::FVMemory< T, N, 0 >::data | ( | ) | const [inline] |
Return a const-pointer to the data.
T ltl::FVMemory< T, N, 0 >::__data_[N] [protected] |
the memory block
T* __restrict__ ltl::FVMemory< T, N, 0 >::data_ [protected] |
points to __data_-1
for fast one-based access