Definition at line 34 of file multi_array_ref_openfpm.hpp.
Public Types | |
typedef super_type::const_reference | const_reference |
typedef super_type::const_iterator | const_iterator |
typedef T | element |
typedef size_t | size_type |
typedef super_type::index | index |
typedef general_storage_order< NumDims > | storage_order_type |
typedef openfpm::array< index, NumDims > | index_list |
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 ExtentType > | |
const_multi_array_ref_openfpm (TPtr base, const ExtentType &extents, const general_storage_order< NumDims > &so) | |
template<class InputIterator > | |
void | assign (InputIterator begin, InputIterator end) |
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 element * | origin () const |
__device__ __host__ const element * | data () const |
size_type | num_elements () const |
const_iterator | begin () const |
const_iterator | end () const |
void | set_base_ptr (TPtr new_base) |
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) | |
Data Fields | |
TPtr | base_ |
storage_order_type | storage_ |
size_type | extent_sz |
size_type | num_elements_ |
index_list | stride_list_ |
Private Types | |
typedef detail::multi_array::multi_array_impl_base_openfpm< T, NumDims, vector > | super_type |
typedef boost::mpl::accumulate< vector, typenameboost::mpl::int_< 1 >, typenameboost::mpl::multiplies< typenameboost::mpl::_2, typenameboost::mpl::_1 > >::type | size_ct |
Private Member Functions | |
const_multi_array_ref_openfpm & | operator= (const const_multi_array_ref_openfpm &other) |
void | init_multi_array_ref (const index sz) |
Additional Inherited Members | |
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 |
typedef super_type::const_iterator openfpm::const_multi_array_ref_openfpm< T, NumDims, vector, TPtr >::const_iterator |
Definition at line 46 of file multi_array_ref_openfpm.hpp.
typedef super_type::const_reference openfpm::const_multi_array_ref_openfpm< T, NumDims, vector, TPtr >::const_reference |
Definition at line 45 of file multi_array_ref_openfpm.hpp.
typedef T openfpm::const_multi_array_ref_openfpm< T, NumDims, vector, TPtr >::element |
Definition at line 48 of file multi_array_ref_openfpm.hpp.
typedef super_type::index openfpm::const_multi_array_ref_openfpm< T, NumDims, vector, TPtr >::index |
Definition at line 51 of file multi_array_ref_openfpm.hpp.
typedef openfpm::array<index,NumDims> openfpm::const_multi_array_ref_openfpm< T, NumDims, vector, TPtr >::index_list |
Definition at line 103 of file multi_array_ref_openfpm.hpp.
|
private |
Definition at line 40 of file multi_array_ref_openfpm.hpp.
typedef size_t openfpm::const_multi_array_ref_openfpm< T, NumDims, vector, TPtr >::size_type |
Definition at line 49 of file multi_array_ref_openfpm.hpp.
typedef general_storage_order<NumDims> openfpm::const_multi_array_ref_openfpm< T, NumDims, vector, TPtr >::storage_order_type |
Definition at line 53 of file multi_array_ref_openfpm.hpp.
|
private |
Definition at line 36 of file multi_array_ref_openfpm.hpp.
|
inlineexplicit |
Definition at line 56 of file multi_array_ref_openfpm.hpp.
|
inline |
Definition at line 64 of file multi_array_ref_openfpm.hpp.
|
inline |
Definition at line 93 of file multi_array_ref_openfpm.hpp.
|
inline |
Definition at line 89 of file multi_array_ref_openfpm.hpp.
|
inline |
Definition at line 85 of file multi_array_ref_openfpm.hpp.
|
inline |
Definition at line 98 of file multi_array_ref_openfpm.hpp.
|
inlineprivate |
Definition at line 120 of file multi_array_ref_openfpm.hpp.
|
inline |
Definition at line 83 of file multi_array_ref_openfpm.hpp.
|
inline |
Definition at line 78 of file multi_array_ref_openfpm.hpp.
|
inline |
Definition at line 91 of file multi_array_ref_openfpm.hpp.
|
inline |
Definition at line 88 of file multi_array_ref_openfpm.hpp.
|
inline |
Definition at line 106 of file multi_array_ref_openfpm.hpp.
|
inline |
Definition at line 80 of file multi_array_ref_openfpm.hpp.
|
inline |
Definition at line 87 of file multi_array_ref_openfpm.hpp.
TPtr openfpm::const_multi_array_ref_openfpm< T, NumDims, vector, TPtr >::base_ |
Definition at line 109 of file multi_array_ref_openfpm.hpp.
size_type openfpm::const_multi_array_ref_openfpm< T, NumDims, vector, TPtr >::extent_sz |
Definition at line 111 of file multi_array_ref_openfpm.hpp.
size_type openfpm::const_multi_array_ref_openfpm< T, NumDims, vector, TPtr >::num_elements_ |
Definition at line 112 of file multi_array_ref_openfpm.hpp.
storage_order_type openfpm::const_multi_array_ref_openfpm< T, NumDims, vector, TPtr >::storage_ |
Definition at line 110 of file multi_array_ref_openfpm.hpp.
index_list openfpm::const_multi_array_ref_openfpm< T, NumDims, vector, TPtr >::stride_list_ |
Definition at line 113 of file multi_array_ref_openfpm.hpp.