Template Struct Array

Struct Documentation

template<typename T, size_t N>
struct Array

Public Types

typedef T value_type

Public Functions

const HOST_DEVICE_INLINE T* marian::functional::Array::data() const
HOST_DEVICE_INLINE T* marian::functional::Array::data()
HOST_DEVICE_INLINE T& marian::functional::Array::operator[](size_t i)
const HOST_DEVICE_INLINE T& marian::functional::Array::operator[](size_t i) const
HOST_DEVICE_INLINE T* marian::functional::Array::begin()
const HOST_DEVICE_INLINE T* marian::functional::Array::begin() const
HOST_DEVICE_INLINE T* marian::functional::Array::end()
const HOST_DEVICE_INLINE T* marian::functional::Array::end() const
HOST_DEVICE_INLINE void marian::functional::Array::fill(T val)
HOST_DEVICE_INLINE T& marian::functional::Array::back()
const HOST_DEVICE_INLINE T& marian::functional::Array::back() const
HOST_DEVICE_INLINE bool marian::functional::Array::operator==(const Array < T, N > & other)

Public Members

template<>
T data_[N]

Public Static Functions

constexpr static HOST_DEVICE_INLINE size_t marian::functional::Array::size()