#include <base.hpp>
Classes | |
struct | array_view |
struct | const_array_view |
struct | const_subarray |
struct | subarray |
Public Types | |
typedef types::index | index |
typedef types::size_type | size_type |
typedef types::element | element |
typedef types::index_range | index_range |
typedef types::value_type | value_type |
typedef types::reference | reference |
typedef types::const_reference | const_reference |
typedef array_iterator< T, T *, mpl::size_t< NumDims > , reference, boost::random_access_traversal_tag > | iterator |
typedef array_iterator< T, T const *, mpl::size_t< NumDims > , 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 | |
BOOST_STATIC_CONSTANT (std::size_t, dimensionality=NumDims) | |
Protected Member Functions | |
multi_array_impl_base () | |
~multi_array_impl_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 |
typedef array_iterator<T,T const*,mpl::size_t<NumDims>,const_reference, boost::random_access_traversal_tag> boost::detail::multi_array::multi_array_impl_base< T, NumDims >::const_iterator |
typedef types::const_reference boost::detail::multi_array::multi_array_impl_base< T, NumDims >::const_reference |
typedef ::boost::reverse_iterator<const_iterator> boost::detail::multi_array::multi_array_impl_base< T, NumDims >::const_reverse_iterator |
typedef types::element boost::detail::multi_array::multi_array_impl_base< T, NumDims >::element |
typedef types::index boost::detail::multi_array::multi_array_impl_base< T, NumDims >::index |
typedef types::index_range boost::detail::multi_array::multi_array_impl_base< T, NumDims >::index_range |
typedef array_iterator<T,T*,mpl::size_t<NumDims>,reference, boost::random_access_traversal_tag> boost::detail::multi_array::multi_array_impl_base< T, NumDims >::iterator |
typedef types::reference boost::detail::multi_array::multi_array_impl_base< T, NumDims >::reference |
typedef ::boost::reverse_iterator<iterator> boost::detail::multi_array::multi_array_impl_base< T, NumDims >::reverse_iterator |
typedef types::size_type boost::detail::multi_array::multi_array_impl_base< T, NumDims >::size_type |
typedef types::value_type boost::detail::multi_array::multi_array_impl_base< T, NumDims >::value_type |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
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()().
boost::detail::multi_array::multi_array_impl_base< T, NumDims >::BOOST_STATIC_CONSTANT | ( | std::size_t | , |
dimensionality | = NumDims |
||
) |
|
inlineprotected |
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().
|
inlineprotected |
|
inlineprotected |
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().
|
inlineprotected |
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().
|
inlineprotected |
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[]().