/third_party/boost/boost/multi_array/ |
D | storage_order.hpp | 31 template <std::size_t NumDims> 39 boost::detail::multi_array::copy_n(ordering,NumDims,ordering_.begin()); in general_storage_order() 40 boost::detail::multi_array::copy_n(ascending,NumDims,ascending_.begin()); in general_storage_order() 48 for (size_type i=0; i != NumDims; ++i) { in general_storage_order() 49 ordering_[i] = NumDims - 1 - i; in general_storage_order() 55 for (size_type i=0; i != NumDims; ++i) { in general_storage_order() 75 boost::array<size_type,NumDims> ordering_; 76 boost::array<bool,NumDims> ascending_; 86 template <std::size_t NumDims> 87 operator general_storage_order<NumDims>() const { in operator general_storage_order<NumDims>() [all …]
|
D | base.hpp | 45 template<typename T, std::size_t NumDims, 77 template <typename T, std::size_t NumDims> 80 template <typename T, std::size_t NumDims, typename TPtr = const T*> 83 template <typename T, typename TPtr, typename NumDims, typename Reference, 87 template <typename T, std::size_t NumDims, typename TPtr = const T*> 90 template <typename T, std::size_t NumDims> 113 template<typename T, std::size_t NumDims> 123 typedef boost::multi_array<T,NumDims-1> value_type; 124 typedef sub_array<T,NumDims-1> reference; 125 typedef const_sub_array<T,NumDims-1> const_reference; [all …]
|
D | multi_array_ref.hpp | 41 template <typename T, std::size_t NumDims, 45 public detail::multi_array::multi_array_impl_base<T,NumDims> 47 typedef detail::multi_array::multi_array_impl_base<T,NumDims> super_type; 58 typedef general_storage_order<NumDims> storage_order_type; 80 const_multi_array_ref(const const_multi_array_ref<T,NumDims,OPtr>& other) in const_multi_array_ref() argument 101 const general_storage_order<NumDims>& so) : in const_multi_array_ref() 112 extent_gen<NumDims>& ranges) : in const_multi_array_ref() 120 extent_gen<NumDims>& ranges, in const_multi_array_ref() 121 const general_storage_order<NumDims>& so) : in const_multi_array_ref() 180 size_type num_dimensions() const { return NumDims; } in num_dimensions() [all …]
|
D | view.hpp | 40 template <typename T, std::size_t NumDims, typename TPtr> 42 public boost::detail::multi_array::multi_array_impl_base<T,NumDims> 44 typedef boost::detail::multi_array::multi_array_impl_base<T,NumDims> super_type; 69 const_multi_array_view<T,NumDims,OPtr>& other) : in const_multi_array_view() argument 98 size_type num_dimensions() const { return NumDims; } in num_dimensions() 141 index_gen<NumDims,NDims>& indices) in operator []() 173 const_multi_array_view<T,NumDims,OPtr>& rhs) in operator ==() argument 184 const_multi_array_view<T,NumDims,OPtr>& rhs) in operator <() argument 191 const_multi_array_view<T,NumDims,OPtr>& rhs) in operator !=() argument 198 const_multi_array_view<T,NumDims,OPtr>& rhs) in operator >() argument [all …]
|
D | iterator.hpp | 46 template <typename T, typename TPtr, typename NumDims, typename Reference, 50 template <typename T, typename TPtr, typename NumDims, typename Reference, 55 array_iterator<T,TPtr,NumDims,Reference,IteratorCategory> 56 , typename associated_types<T,NumDims>::value_type 61 value_accessor_generator<T,NumDims>::type 64 typedef detail::multi_array::associated_types<T,NumDims> access_t; 67 array_iterator<T,TPtr,NumDims,Reference,IteratorCategory> 68 , typename detail::multi_array::associated_types<T,NumDims>::value_type 105 const array_iterator<T,OPtr,NumDims,ORef,Cat>& rhs in array_iterator() argument 122 typedef typename value_accessor_generator<T,NumDims>::type accessor; in dereference() [all …]
|
D | subarray.hpp | 38 template <typename T, std::size_t NumDims, typename TPtr> 40 public boost::detail::multi_array::multi_array_impl_base<T,NumDims> 42 typedef boost::detail::multi_array::multi_array_impl_base<T,NumDims> super_type; 68 const_sub_array (const const_sub_array<T,NumDims,OPtr>& rhs) : in const_sub_array() argument 93 index_gen<NumDims,NDims>& indices) in operator []() 106 bool operator<(const const_sub_array<T,NumDims,OPtr>& rhs) const { in operator <() argument 111 bool operator==(const const_sub_array<T,NumDims,OPtr>& rhs) const { in operator ==() argument 118 bool operator!=(const const_sub_array<T,NumDims,OPtr>& rhs) const { in operator !=() argument 123 bool operator>(const const_sub_array<T,NumDims,OPtr>& rhs) const { in operator >() argument 128 bool operator<=(const const_sub_array<T,NumDims,OPtr>& rhs) const { in operator <=() argument [all …]
|
D | index_gen.hpp | 28 template <int NumRanges, int NumDims> 53 index_gen<NumRanges+1,NumDims+1> 56 index_gen<NumRanges+1,NumDims+1> tmp; in operator []() 62 index_gen<NumRanges+1,NumDims> 65 index_gen<NumRanges+1,NumDims> tmp; in operator []()
|
D | concept_checks.hpp | 58 template <typename Array, std::size_t NumDims > 71 detail::idgen_helper<NumDims-1>::call(a,idgen[range],id); in constraints() 74 detail::idgen_helper<NumDims-1>::call(a,idgen[range],range); in constraints() 119 template <typename Array, std::size_t NumDims > 136 detail::idgen_helper<NumDims-1>::call(a,idgen[range],id); in constraints() 139 detail::idgen_helper<NumDims-1>::call(a,idgen[range],range); in constraints() 160 detail::idgen_helper<NumDims-1>::call(a,idgen[range],id); in const_constraints() 163 detail::idgen_helper<NumDims-1>::call(a,idgen[range],range); in const_constraints()
|
/third_party/boost/boost/ |
D | multi_array.hpp | 69 template <typename T, std::size_t NumDims, typename TPtr> 70 char is_multi_array_impl_help(const_multi_array_view<T,NumDims,TPtr>&); 71 template <typename T, std::size_t NumDims, typename TPtr> 72 char is_multi_array_impl_help(const_sub_array<T,NumDims,TPtr>&); 73 template <typename T, std::size_t NumDims, typename TPtr> 74 char is_multi_array_impl_help(const_multi_array_ref<T,NumDims,TPtr>&); 119 template<typename T, std::size_t NumDims, 122 public multi_array_ref<T,NumDims>, 126 typedef multi_array_ref<T,NumDims> super_type; 179 const general_storage_order<NumDims>& so) : in multi_array() [all …]
|
/third_party/boost/libs/multi_array/test/ |
D | dimtest.cpp | 237 template <int NumRanges, int NumDims> 257 index_gen<NumRanges+1,NumDims+1> 260 index_gen<NumRanges+1,NumDims+1> tmp; in operator []() 266 index_gen<NumRanges+1,NumDims> 269 index_gen<NumRanges+1,NumDims> tmp; in operator []()
|
D | idxgen1.cpp | 28 template <int NumRanges, int NumDims> 30 index_gen<NumRanges,NumDims>&) { } in check() argument
|