#include <subarray.hpp>
Classes | |
struct | array_view |
struct | const_array_view |
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 types::index_range | index_range |
typedef types::reference | reference |
typedef array_iterator< T, T *, mpl::size_t< NumDims > , reference, boost::random_access_traversal_tag > | iterator |
typedef ::boost::reverse_iterator < iterator > | reverse_iterator |
Protected Member Functions | |
const_sub_array (TPtr base, const size_type *extents, const index *strides, const index *index_base) | |
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 |
template<typename StrideList , typename ExtentList > | |
void | compute_strides (StrideList &stride_list, ExtentList &extent_list, const general_storage_order< NumDims > &storage) |
template<typename StrideList , typename ExtentList , typename BaseList > | |
index | calculate_origin_offset (const StrideList &stride_list, const ExtentList &extent_list, const general_storage_order< NumDims > &storage, const BaseList &index_base_list) |
template<typename StrideList , typename ExtentList > | |
index | calculate_descending_dimension_offset (const StrideList &stride_list, const ExtentList &extent_list, const general_storage_order< NumDims > &storage) |
template<typename StrideList , typename BaseList > | |
index | calculate_indexing_offset (const StrideList &stride_list, const BaseList &index_base_list) |
template<typename ArrayRef , int NDims, typename TPtr > | |
ArrayRef | generate_array_view (boost::type< ArrayRef >, const boost::detail::multi_array::index_gen< NumDims, NDims > &indices, const size_type *extents, const index *strides, const index *index_bases, TPtr base) const |
Protected Attributes | |
TPtr | base_ |
const size_type * | extents_ |
const index * | strides_ |
const index * | index_base_ |
Friends | |
template<typename , std::size_t > | |
class | value_accessor_n |
template<typename , std::size_t , typename > | |
class | const_sub_array |
typedef super_type::const_iterator boost::detail::multi_array::const_sub_array< T, NumDims, TPtr >::const_iterator |
typedef super_type::const_reference boost::detail::multi_array::const_sub_array< T, NumDims, TPtr >::const_reference |
typedef super_type::const_reverse_iterator boost::detail::multi_array::const_sub_array< T, NumDims, TPtr >::const_reverse_iterator |
typedef super_type::difference_type boost::detail::multi_array::const_sub_array< T, NumDims, TPtr >::difference_type |
typedef super_type::element boost::detail::multi_array::const_sub_array< T, NumDims, TPtr >::element |
typedef super_type::extent_range boost::detail::multi_array::const_sub_array< T, NumDims, TPtr >::extent_range |
typedef super_type::index boost::detail::multi_array::const_sub_array< T, NumDims, TPtr >::index |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
typedef super_type::size_type boost::detail::multi_array::const_sub_array< T, NumDims, TPtr >::size_type |
typedef super_type::value_type boost::detail::multi_array::const_sub_array< T, NumDims, TPtr >::value_type |
|
inline |
|
inlineprotected |
|
inlineprotectedinherited |
References BOOST_ASSERT, boost::function_requires(), boost::multiprecision::backends::i, boost::ignore_unused_variable_warning(), boost::n, and boost::asio::offset.
Referenced by boost::detail::multi_array::const_sub_array< T, NumDims, T * >::operator()(), boost::detail::multi_array::const_multi_array_view< T, NumDims, T * >::operator()(), boost::const_multi_array_ref< T, NumDims, T * >::operator()(), boost::detail::multi_array::sub_array< T, NumDims >::operator()(), boost::detail::multi_array::multi_array_view< T, NumDims >::operator()(), and boost::multi_array_ref< T, NumDims >::operator()().
|
inline |
|
inherited |
|
inlineprotectedinherited |
References boost::general_storage_order< NumDims >::all_dims_ascending(), boost::general_storage_order< NumDims >::ascending(), boost::n, and boost::asio::offset.
Referenced by boost::detail::multi_array::multi_array_impl_base< T, NumDims >::calculate_origin_offset(), and boost::const_multi_array_ref< T, NumDims, T * >::init_multi_array_ref().
|
inlineprotectedinherited |
|
inlineprotectedinherited |
References boost::detail::multi_array::multi_array_impl_base< T, NumDims >::calculate_descending_dimension_offset(), and boost::detail::multi_array::multi_array_impl_base< T, NumDims >::calculate_indexing_offset().
Referenced by boost::const_multi_array_ref< T, NumDims, T * >::init_multi_array_ref(), boost::const_multi_array_ref< T, NumDims, T * >::reindex(), and boost::const_multi_array_ref< T, NumDims, T * >::reshape().
|
inlineprotectedinherited |
References boost::general_storage_order< NumDims >::ascending(), boost::n, boost::general_storage_order< NumDims >::ordering(), and boost::adaptors::stride().
Referenced by boost::const_multi_array_ref< T, NumDims, T * >::init_multi_array_ref(), and boost::const_multi_array_ref< T, NumDims, T * >::reshape().
|
inline |
|
inline |
|
inlineprotectedinherited |
References BOOST_ASSERT, boost::iostreams::bzip2::finish, boost::python::len(), boost::n, boost::asio::offset, and boost::adaptors::stride().
Referenced by boost::detail::multi_array::const_sub_array< T, NumDims, T * >::operator[](), boost::detail::multi_array::const_multi_array_view< T, NumDims, T * >::operator[](), boost::const_multi_array_ref< T, NumDims, T * >::operator[](), boost::detail::multi_array::sub_array< T, NumDims >::operator[](), boost::detail::multi_array::multi_array_view< T, NumDims >::operator[](), and boost::multi_array_ref< T, NumDims >::operator[]().
|
inline |
Referenced by boost::detail::multi_array::const_sub_array< T, NumDims, T * >::begin(), boost::detail::multi_array::const_sub_array< T, NumDims, T * >::end(), boost::detail::multi_array::const_sub_array< T, NumDims, T * >::operator()(), and boost::detail::multi_array::const_sub_array< T, NumDims, T * >::operator[]().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by boost::detail::multi_array::const_sub_array< T, NumDims, T * >::begin(), boost::detail::multi_array::const_sub_array< T, NumDims, T * >::end(), boost::detail::multi_array::const_sub_array< T, NumDims, T * >::num_elements(), boost::detail::multi_array::const_sub_array< T, NumDims, T * >::operator()(), boost::detail::multi_array::sub_array< T, NumDims >::operator=(), boost::detail::multi_array::const_sub_array< T, NumDims, T * >::operator==(), and boost::detail::multi_array::const_sub_array< T, NumDims, T * >::operator[]().
|
inline |
|
inline |
Referenced by boost::detail::multi_array::const_sub_array< T, NumDims, T * >::begin(), boost::detail::multi_array::const_sub_array< T, NumDims, T * >::end(), boost::detail::multi_array::const_sub_array< T, NumDims, T * >::operator()(), and boost::detail::multi_array::const_sub_array< T, NumDims, T * >::operator[]().
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |