Definition at line 23 of file multi_array_view_openfpm.hpp.
Data Structures | |
struct | array_view_openfpm |
struct | const_array_view_openfpm |
Public Types | |
typedef super_type::value_type | value_type |
typedef super_type::const_reference | const_reference |
typedef super_type::const_iterator | const_iterator |
typedef super_type::const_reverse_iterator | const_reverse_iterator |
typedef super_type::element | element |
typedef super_type::size_type | size_type |
typedef super_type::difference_type | difference_type |
typedef super_type::index | index |
typedef super_type::extent_range | extent_range |
typedef T * | TPtr |
typedef boost::mpl::accumulate< vector, typenameboost::mpl::int_< 1 >, typenameboost::mpl::multiplies< typenameboost::mpl::_2, typenameboost::mpl::_1 > >::type | size_ct |
Public Types inherited from openfpm::detail::multi_array::multi_array_impl_base_openfpm< T, NumDims, vector > | |
typedef types::index | index |
typedef types::size_type | size_type |
typedef types::element | element |
typedef types::value_type | value_type |
typedef types::reference | reference |
typedef types::const_reference | const_reference |
typedef array_iterator_openfpm< T, T *, boost::mpl::size_t< NumDims >, vector, reference, boost::random_access_traversal_tag > | iterator |
typedef array_iterator_openfpm< T, T const *, boost::mpl::size_t< NumDims >, vector, const_reference, boost::random_access_traversal_tag > | const_iterator |
typedef ::boost::reverse_iterator< iterator > | reverse_iterator |
typedef ::boost::reverse_iterator< const_iterator > | const_reverse_iterator |
Public Member Functions | |
template<typename OPtr > | |
const_multi_array_view_openfpm (const const_multi_array_view_openfpm< T, NumDims, OPtr > &other) | |
template<class BaseList > | |
boost::disable_if< typenameboost::is_integral< BaseList >::type, void >::type | reindex (const BaseList &values) |
void | reindex (index value) |
size_type | num_dimensions () const |
size_type | size () const |
size_type | max_size () const |
bool | empty () const |
__device__ __host__ const index * | strides () const |
__device__ __host__ const T * | origin () const |
size_type | num_elements () const |
__device__ __host__ const index * | index_bases () const |
template<typename IndexList > | |
const element & | operator() (IndexList indices) const |
__device__ __host__ const_reference | operator[] (index idx) const |
template<int NDims> | |
__device__ __host__ const_array_view_openfpm< NDims >::type | operator[] (const boost::detail::multi_array::index_gen< NumDims, NDims > &indices) const |
const_iterator | begin () const |
const_reverse_iterator | rend () const |
template<typename OPtr > | |
bool | operator!= (const const_multi_array_view_openfpm< T, NumDims, OPtr > &rhs) const |
template<typename OPtr > | |
bool | operator> (const const_multi_array_view_openfpm< T, NumDims, OPtr > &rhs) const |
template<typename OPtr > | |
bool | operator<= (const const_multi_array_view_openfpm< T, NumDims, OPtr > &rhs) const |
template<typename OPtr > | |
bool | operator>= (const const_multi_array_view_openfpm< T, NumDims, OPtr > &rhs) const |
Public Member Functions inherited from openfpm::detail::multi_array::multi_array_impl_base_openfpm< T, NumDims, vector > | |
BOOST_STATIC_CONSTANT (std::size_t, dimensionality=NumDims) | |
Protected Types | |
typedef boost::array< index, NumDims > | index_list |
Protected Member Functions | |
template<typename ExtentType , typename Index > | |
const_multi_array_view_openfpm (TPtr base, const ExtentType extent, const boost::array< Index, NumDims > &strides) | |
Protected Member Functions inherited from openfpm::detail::multi_array::multi_array_impl_base_openfpm< T, NumDims, vector > | |
template<typename Stride_list , typename Extent_type > | |
void | compute_strides (Stride_list &stride_list, Extent_type &extent, const general_storage_order< NumDims > &storage) |
template<typename Reference , typename IndexList , typename TPtr > | |
Reference | access_element (boost::type< Reference >, const IndexList &indices, TPtr base, const size_type *extents, const index *strides, const index *index_bases) const |
Protected Attributes | |
TPtr | base_ |
index | origin_offset_ |
size_type | num_elements_ |
size_type | extent |
index_list | stride_list_ |
index_list | index_base_list_ |
Private Types | |
typedef openfpm::detail::multi_array::multi_array_impl_base_openfpm< T, NumDims, vector > | super_type |
Private Member Functions | |
const_multi_array_view_openfpm & | operator= (const const_multi_array_view_openfpm &other) |
Friends | |
template<typename , std::size_t , typename > | |
class | multi_array_impl_base_openfpm |
typedef super_type::const_iterator openfpm::detail::multi_array::const_multi_array_view_openfpm< T, NumDims, vector >::const_iterator |
Definition at line 29 of file multi_array_view_openfpm.hpp.
typedef super_type::const_reference openfpm::detail::multi_array::const_multi_array_view_openfpm< T, NumDims, vector >::const_reference |
Definition at line 28 of file multi_array_view_openfpm.hpp.
typedef super_type::const_reverse_iterator openfpm::detail::multi_array::const_multi_array_view_openfpm< T, NumDims, vector >::const_reverse_iterator |
Definition at line 30 of file multi_array_view_openfpm.hpp.
typedef super_type::difference_type openfpm::detail::multi_array::const_multi_array_view_openfpm< T, NumDims, vector >::difference_type |
Definition at line 33 of file multi_array_view_openfpm.hpp.
typedef super_type::element openfpm::detail::multi_array::const_multi_array_view_openfpm< T, NumDims, vector >::element |
Definition at line 31 of file multi_array_view_openfpm.hpp.
typedef super_type::extent_range openfpm::detail::multi_array::const_multi_array_view_openfpm< T, NumDims, vector >::extent_range |
Definition at line 35 of file multi_array_view_openfpm.hpp.
typedef super_type::index openfpm::detail::multi_array::const_multi_array_view_openfpm< T, NumDims, vector >::index |
Definition at line 34 of file multi_array_view_openfpm.hpp.
|
protected |
Definition at line 196 of file multi_array_view_openfpm.hpp.
typedef boost::mpl::accumulate<vector,typenameboost::mpl::int_<1>,typenameboost::mpl::multiplies<typenameboost::mpl::_2,typenameboost::mpl::_1>>::type openfpm::detail::multi_array::const_multi_array_view_openfpm< T, NumDims, vector >::size_ct |
Definition at line 40 of file multi_array_view_openfpm.hpp.
typedef super_type::size_type openfpm::detail::multi_array::const_multi_array_view_openfpm< T, NumDims, vector >::size_type |
Definition at line 32 of file multi_array_view_openfpm.hpp.
|
private |
Definition at line 25 of file multi_array_view_openfpm.hpp.
typedef T* openfpm::detail::multi_array::const_multi_array_view_openfpm< T, NumDims, vector >::TPtr |
Definition at line 36 of file multi_array_view_openfpm.hpp.
typedef super_type::value_type openfpm::detail::multi_array::const_multi_array_view_openfpm< T, NumDims, vector >::value_type |
Definition at line 27 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 54 of file multi_array_view_openfpm.hpp.
|
inlineexplicitprotected |
Definition at line 180 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 133 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 90 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 100 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 89 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 86 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 98 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 142 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 105 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 155 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 148 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 162 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 122 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 113 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 96 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 69 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 79 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 137 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 88 of file multi_array_view_openfpm.hpp.
|
inline |
Definition at line 92 of file multi_array_view_openfpm.hpp.
|
friend |
Definition at line 172 of file multi_array_view_openfpm.hpp.
|
friend |
Definition at line 171 of file multi_array_view_openfpm.hpp.
|
protected |
Definition at line 198 of file multi_array_view_openfpm.hpp.
|
protected |
Definition at line 201 of file multi_array_view_openfpm.hpp.
|
protected |
Definition at line 203 of file multi_array_view_openfpm.hpp.
|
protected |
Definition at line 200 of file multi_array_view_openfpm.hpp.
|
protected |
Definition at line 199 of file multi_array_view_openfpm.hpp.
|
protected |
Definition at line 202 of file multi_array_view_openfpm.hpp.